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: [PATCH]: add tests for pthread initialization macros


Kaveh R. Ghazi wrote:

solaris. Also some other platforms, namely aix and alpha-osf have
their own problems and may benefit from this oversight as well. I've
added tests for "-W -Wall" and "-W -Wall -ansi" which were separate


Could these compile flags be changed to "-Wall -Wextra [-ansi]" as recommended by gcc documentation?

problems on solaris.  We can add more if the other platforms have
their own issues.  Also, we can easily add more macros if they exist.

Fedora Core 4 on x86_64 has issues with PTHREAD_MUTEX_INITIALIZER defined as "{ {0, } }" - please look at http://gcc.gnu.org/ml/gcc/2006-09/msg00525.html ...

Uros.


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