This is the mail archive of the gcc-patches@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]

Re: pthread.h INITIALIZER macros on solaris (solaris9 & 10 need fixes)


 > OK.  I give.  Why in the world would GCC *NOT* complain about an
 > empty initializer on Linux and yet complain on Solaris?  I was not
 > expecting such an inconsistency.

I think the empty initializer warning was added in 4.0.  Were you
testing the system's 3.x compiler on linux?  That might explain why
you didn't see it there.

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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