stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r653562 - /stdcxx/branches/4.2.x/include/rw/_mutex.h
Date Mon, 05 May 2008 19:22:48 GMT
Author: sebor
Date: Mon May  5 12:22:48 2008
New Revision: 653562

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

	STDCXX-911
	* include/rw/_mutex.h [6 == _RWSTD_HP_aCC_MAJOR]: Suppressed HP aCC
	aCC 6 remarks: 64 bit migration: conversion from long* to "int* may
	cause target of pointers to have a different size.

Modified:
    stdcxx/branches/4.2.x/include/rw/_mutex.h

Modified: stdcxx/branches/4.2.x/include/rw/_mutex.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_mutex.h?rev=653562&r1=653561&r2=653562&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_mutex.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_mutex.h Mon May  5 12:22:48 2008
@@ -1936,6 +1936,14 @@
 
 #if _RWSTD_LONG_SIZE == _RWSTD_INT_SIZE
 
+#  if 6 == _RWSTD_HP_aCC_MAJOR
+     // suppress HP aCC 64 bit migration remark: conversion from
+     // "long *" to "int *" may cause target of pointers to have
+     // a different size
+#    pragma diag_suppress 4230
+#  endif   // HP aCC 6
+
+
 inline long
 __rw_atomic_preincrement (long &__x, bool)
 {
@@ -1981,6 +1989,11 @@
                                  false);
 }
 
+
+#  if 6 == _RWSTD_HP_aCC_MAJOR
+#    pragma diag_default 4230
+#  endif   // HP aCC 6
+
 #endif   // _RWSTD_LONG_SIZE == _RWSTD_INT_SIZE
 
 /********************** generic long long functions *******************/



Mime
View raw message