On Thu, Aug 15, 2002 at 03:18:59PM -0700, Alfred Perlstein wrote: > /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o > r type name in empty declaration > /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration
> I get those a lot now... please fix. This happens because GCC 3 doesn't define __STDC_VERSION__ unless you specify -std=<something>, whereas 2.95 defines it to 199409L if no -std option is given. I'm not quite sure how to check for this. Perhaps this would work: #if __STDC_VERSION__ < 199901L && __GNUC__ < 3 typedef int _Bool; #endif GCC 3 appears to declare _Bool regardless of any -std option. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message