[gambit-list] use of cast expressions as lvalues

Christian christian at pflanze.mine.nu
Sun Jan 29 09:56:00 EST 2006


Hello

Speaking of compiler warnings: I'm sometimes getting:

foo.c:7033: Warnung: use of cast expressions as lvalues is deprecated

in cases like:

(c-declare ".......
            struct sigqueue * global_queue;")
....
(define global-queue (c-lambda () sigqueue "___result= global_queue;"))

Is there a more correct way to assign something to the result?

Thanks
Christian.




More information about the Gambit-list mailing list