va_arg issues with different gcc versions

Charles Godin charlesgodin@hotmail.com
Wed Jan 8 16:41:00 GMT 2003


Hi,

On redhat 7.0, this code will compile with gcc 2.95.2 but not with 2.96:

	va_list ap;
	unsigned char b = va_arg(ap, unsigned char);

Is there a way to fix this code to make it friendly to all versions of gcc?

Charles Godin



_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



More information about the Gcc-help mailing list