This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/44003] gcc 4.5.0 stddef.h clobbers __size_t with #define, breaks VMS (code already avoids similar on FreeBSD)‏



------- Comment #1 from jay dot krell at cornell dot edu  2010-05-10 23:01 -------
ps:
#if (defined (__FreeBSD__) && (__FreeBSD__>= 5)) || defined(__vms)

can probably just be:

#if __FreeBSD__>= 5 || defined(__vms)

or:

#if __FreeBSD__ | __vms
assuming the #define can also be be ommited on FreeBSD < 5, or that FreeBSD < 5
isn't supported, and depending on undefined to evaluate to 0.


 - Jay


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]