stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r681567 - /stdcxx/branches/4.3.x/tests/src/thread.cpp
Date Fri, 01 Aug 2008 00:42:00 GMT
Author: sebor
Date: Thu Jul 31 17:42:00 2008
New Revision: 681567

URL: http://svn.apache.org/viewvc?rev=681567&view=rev
Log:
2008-07-31  Martin Sebor  <sebor@roguewave.com>

	* tests/src/thread.cpp [_RWSTD_POSIX_THREADS]: Simplified
	preprocessor conditional logic introduced in rev 680574.

Modified:
    stdcxx/branches/4.3.x/tests/src/thread.cpp

Modified: stdcxx/branches/4.3.x/tests/src/thread.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/tests/src/thread.cpp?rev=681567&r1=681566&r2=681567&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/tests/src/thread.cpp (original)
+++ stdcxx/branches/4.3.x/tests/src/thread.cpp Thu Jul 31 17:42:00 2008
@@ -84,18 +84,12 @@
 
 #if defined (_RWSTD_POSIX_THREADS)
 
-#  if defined (__linux__)
-#    if    defined (__EDG__)                \
-        && !defined (__DECCXX)              \
-        && !defined (__HP_aCC)              \
-        && !defined (__INTEL_COMPILER)      \
-        && !defined (_SGI_COMPILER_VERSION)
-       // disable error #450-D: the type "long long" is nonstandard
-       // when using the vanilla EDG eccp in strict mode (i.e., w/o
-       // long long support)
-#      pragma diag_suppress 450
-#    endif   // vanilla EDG eccp on Linux
-#  endif
+#  ifdef _RWSTD_EDG_ECCP
+     // disable error #450-D: the type "long long" is nonstandard
+     // issued for uses of the type in Linux system headers (e.g.,
+     // pthreadtypes.h)
+#    pragma diag_suppress 450
+#  endif   // vanilla EDG eccp demo
 
 #  include <pthread.h>
 



Mime
View raw message