You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2008/03/18 19:30:36 UTC
svn commit: r638493 - /stdcxx/trunk/include/rw/_mutex.h
Author: sebor
Date: Tue Mar 18 11:30:27 2008
New Revision: 638493
URL: http://svn.apache.org/viewvc?rev=638493&view=rev
Log:
2008-03-18 Martin Sebor <se...@roguewave.com>
STDCXX-595
* _mutex.h [_RWSTD_POSIX_THREADS && _RWSTD_EDG_ECCP
&& _RWSTD_OS_LINUX && _RWSTD_NO_LONG_LONG]: Disabled EDG eccp
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).
Modified:
stdcxx/trunk/include/rw/_mutex.h
Modified: stdcxx/trunk/include/rw/_mutex.h
URL: http://svn.apache.org/viewvc/stdcxx/trunk/include/rw/_mutex.h?rev=638493&r1=638492&r2=638493&view=diff
==============================================================================
--- stdcxx/trunk/include/rw/_mutex.h (original)
+++ stdcxx/trunk/include/rw/_mutex.h Tue Mar 18 11:30:27 2008
@@ -26,7 +26,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*
- * Copyright 1994-2006 Rogue Wave Software.
+ * Copyright 1994-2008 Rogue Wave Software, Inc.
*
**************************************************************************/
@@ -78,6 +78,14 @@
# define _RWSTD_MUTEX_T mutex_t
#elif defined (_RWSTD_POSIX_THREADS)
+
+# if defined (_RWSTD_EDG_ECCP) && defined (_RWSTD_OS_LINUX) \
+ && defined (_RWSTD_NO_LONG_LONG)
+ // 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
// LinuxThreads man page:
// "Variables of type pthread_mutex_t can also be initialized