Author: sebor Date: Sun Jan 4 13:35:15 2009 New Revision: 731368 URL: http://svn.apache.org/viewvc?rev=731368&view=rev Log: 2009-01-04 Martin Sebor <se...@apache.org>
STDCXX-1029 * etc/config/src/UNISTD_DECL.cpp [__linux__ && 4 == __GNUC__ && 3 == __GNUC_MINOR__](__wur): #defined to an empty comment to work around gcc 4.3.1 bug 37405 observed on Linux: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405 Modified: stdcxx/branches/4.2.x/etc/config/src/UNISTD_DECL.cpp Modified: stdcxx/branches/4.2.x/etc/config/src/UNISTD_DECL.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/src/UNISTD_DECL.cpp?rev=731368&r1=731367&r2=731368&view=diff ============================================================================== --- stdcxx/branches/4.2.x/etc/config/src/UNISTD_DECL.cpp (original) +++ stdcxx/branches/4.2.x/etc/config/src/UNISTD_DECL.cpp Sun Jan 4 13:35:15 2009 @@ -24,6 +24,12 @@ #include "config.h" +#if defined __linux__ && 4 == __GNUC__ && 3 == __GNUC_MINOR__ + // work around gcc bug 37405 + // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405 +# define __wur /* empty */ +#endif // gcc 4.3 on Linux + #include <sys/types.h> #include <fcntl.h> #include <stdio.h>