debug.d UL2_to_I trouble

View: New views
1 Messages — Rating Filter:   Alert me  

debug.d UL2_to_I trouble

by Masayuki Onjo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Sam.

Thank you for unicode comment fix.
The error was not displayed in LANG=ja_JP.eucJP environment.

I got a trouble with debug.d r1.120, following:

gcc -I/home/onjo/local/include  -Igllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -c debug.c
../src/debug.d: In function 'C_proom':
../src/debug.d:1571: error: incompatible type for argument 1 of 'UL2_to_I'
../src/debug.d:1571: error: too few arguments to function 'UL2_to_I'
../src/debug.d:1571: warning: left-hand operand of comma expression has no effect
../src/debug.d:1571: warning: value computed is not used
make: *** [debug.o] Error 1

Regards,

--
Masayuki Onjo

Index: src/debug.d
===================================================================
RCS file: /cvsroot/clisp/clisp/src/debug.d,v
retrieving revision 1.120
diff -u -r1.120 debug.d
--- src/debug.d 22 Jul 2008 17:10:24 -0000 1.120
+++ src/debug.d 22 Jul 2008 22:18:57 -0000
@@ -1568,7 +1568,7 @@
  #ifdef intQsize
   pushSTACK(UQ_to_I(gc_space));
  #else
-  pushSTACK(UL2_to_I(gc_space));
+  pushSTACK(UL2_to_I(gc_space.hi,gc_space.lo));
  #endif
   pushSTACK(internal_time_to_I(&gc_time));
   STACK_to_mv(6);

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
clisp-devel mailing list
clisp-devel@...
https://lists.sourceforge.net/lists/listinfo/clisp-devel
LightInTheBox - Buy quality products at wholesale price