Custom Query (1030 matches)
Results (202 - 204 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #817 | invalid | inline notinline | ||
| Description |
What I was trying to do is to declare a function inline. That function has a macro inside. Depending on whether I declaim it inline or notinline I get two different outcomes. Well I assume that we always should get the same outcome (semantically) independent of whether we declaim something inline or notinline. Here's a demo: (in-package :cl-user) (defpackage :test (:use :cl)) (in-package :test) (defmacro foo () `(funcall ',(intern "FOOBAR"))) (defun foobar () 42) (declaim (inline bar)) (defun bar () (foo)) (in-package :cl-user) (defun busted () (test::bar)) ;; Just for information... (find-symbol "FOOBAR") ; => FOOBAR, :INTERNAL ;; Error! (busted) ;;; Lets try it with bar not being inlined. ;;; ======================================= (in-package :test) (declaim (notinline bar)) (defun bar () (foo)) (in-package :cl-user) (unintern 'foobar) ; GC that (defun busted () (test::bar)) ;; Runs fine this time. (busted) ;; Just for information... (find-symbol "FOOBAR") ; => NIL, NIL |
|||
| #305 | fixed | initialize-instance bug for classes with lots of slots | ||
| Description |
The bug is exhibited in the following test code. To run it save it to a file, load it and then evaluate the TEST-IT function. I have tested this with the binary x8664 version for 1.2-rc1. Basically I am generating a class called BAR with 600 direct slots which derives from FOO with the BAR-GENERATOR macro. If BAR has 6 slots, then the test case works as it should. ;;; Start of test case (in-package :cl-user) (defclass foo ()
(defmacro bar-generator ()
(bar-generator) (defmethod initialize-instance :after ((x foo) &key)
(defun test-it ()
;;; End of test case |
|||
| #1009 | fixed | initGlut is called with incorrect parameters in examples/opengl-ffi.lisp | ||
| Description |
the function initGlut() must be called with a pointer to a variable containing argc and a pointer to argv. Instead, it is being called with a pointer to a pointer to argv (line 45 in examples/opengl-ffi.lisp).
Simplest fix is to remove the creation and initialization of argvp, and to change line 45 to read
Cheers, Hans-Martin |
|||
