stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r680574 - /stdcxx/branches/4.3.x/tests/src/thread.cpp
Date Tue, 29 Jul 2008 00:02:49 GMT
Author: vitek
Date: Mon Jul 28 17:02:48 2008
New Revision: 680574

URL: http://svn.apache.org/viewvc?rev=680574&view=rev
Log:
2008-07-28  Travis Vitek  <vitek@roguewave.com>

	* tests/src/thread.cpp [__EDG__]: Disable error for use of long long
	in pthreadtypes.h system header.


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=680574&r1=680573&r2=680574&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/tests/src/thread.cpp (original)
+++ stdcxx/branches/4.3.x/tests/src/thread.cpp Mon Jul 28 17:02:48 2008
@@ -83,6 +83,20 @@
 
 
 #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
+
 #  include <pthread.h>
 
 _TEST_EXPORT int



Mime
View raw message