stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r652920 - /stdcxx/branches/4.2.x/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp
Date Fri, 02 May 2008 21:33:35 GMT
Author: sebor
Date: Fri May  2 14:33:35 2008
New Revision: 652920

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

	STDCXX-903
	Merged rev 648385 from trunk (missed in rev 648752):

	2008-04-15  Martin Sebor  <sebor@roguewave.com>

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

Modified:
    stdcxx/branches/4.2.x/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp

Modified: stdcxx/branches/4.2.x/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp?rev=652920&r1=652919&r2=652920&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp (original)
+++ stdcxx/branches/4.2.x/etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp Fri May  2 14:33:35 2008
@@ -18,12 +18,23 @@
  * implied.   See  the License  for  the  specific language  governing
  * permissions and limitations under the License.
  *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
+ * Copyright 1999-2008 Rogue Wave Software, Inc.
  * 
  **************************************************************************/
 
 #include "config.h"
 
+#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 <stddef.h>   // for size_t
 #include <stdio.h>    // for printf()
 #include <time.h>     // for struct tm



Mime
View raw message