[gambit-list] Re: C interface: wrong types generated?

Bradley Lucier lucier at math.purdue.edu
Tue Dec 27 16:05:45 EST 2005


 From the GCC manual:

> The type char is always a distinct type from each of signed char or  
> unsigned char, even though its behavior is always just like one of  
> those two.

It appears that if Gambit should define SCHAR as "signed char"  
unconditionally if it doesn't want to get type mismatch warnings with  
external APIs that use "signed char" explicitly.

The specific form of the warning is misleading, however; see the  
discussion at

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23087

Brad



More information about the Gambit-list mailing list