stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r648332 - /stdcxx/trunk/etc/config/src/libc_decl.sh
Date Tue, 15 Apr 2008 17:04:46 GMT
Author: sebor
Date: Tue Apr 15 10:04:36 2008
New Revision: 648332

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

	STDCXX-873
	* etc/config/src/libc_decl.sh [vanilla EDG eccp]: Suppressed EDG eccp
	error #450-D: the type "long long" is nonstandard before #including
	libc headers.

Modified:
    stdcxx/trunk/etc/config/src/libc_decl.sh

Modified: stdcxx/trunk/etc/config/src/libc_decl.sh
URL: http://svn.apache.org/viewvc/stdcxx/trunk/etc/config/src/libc_decl.sh?rev=648332&r1=648331&r2=648332&view=diff
==============================================================================
--- stdcxx/trunk/etc/config/src/libc_decl.sh (original)
+++ stdcxx/trunk/etc/config/src/libc_decl.sh Tue Apr 15 10:04:36 2008
@@ -20,7 +20,7 @@
 # implied.   See  the License  for  the  specific language  governing
 # permissions and limitations under the License.
 #
-# Copyright 2001-2007 Rogue Wave Software, Inc.
+# Copyright 2001-2008 Rogue Wave Software, Inc.
 #
 ##############################################################################
 #
@@ -221,6 +221,17 @@
 #    undef __THROW
 #    define __THROW
 #  endif   // gcc < 3 on 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   // EDG eccp on Linux
 
 #  include HDRNAME
 



Mime
View raw message