Author: sebor Date: Mon Apr 7 12:30:30 2008 New Revision: 645656 URL: http://svn.apache.org/viewvc?rev=645656&view=rev Log: 2008-04-07 Martin Sebor <[EMAIL PROTECTED]>
STDCXX-830 * include/loc/_localedef.h [6 <= _RWSTD_HP_aCC_MAJOR]: Suppressed HP aCC remarks 4298 and 4299 for most of the header since they don't indicate a problem. Modified: stdcxx/trunk/include/loc/_localedef.h Modified: stdcxx/trunk/include/loc/_localedef.h URL: http://svn.apache.org/viewvc/stdcxx/trunk/include/loc/_localedef.h?rev=645656&r1=645655&r2=645656&view=diff ============================================================================== --- stdcxx/trunk/include/loc/_localedef.h (original) +++ stdcxx/trunk/include/loc/_localedef.h Mon Apr 7 12:30:30 2008 @@ -22,7 +22,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. * **************************************************************************/ @@ -33,6 +33,14 @@ #include <rw/_defs.h> +#if 6 <= _RWSTD_HP_aCC_MAJOR + // suppress HP aCC 6 remarks + // 4298: addition result truncated before cast to bigger sized type + // 4299: multiply result truncated before cast to bigger sized type +# pragma diag_suppress 4298, 4299 +#endif // aCC >= 6.0 + + _RWSTD_NAMESPACE (__rw) { // LC_CTYPE structures @@ -678,6 +686,12 @@ return _RWSTD_CHAR_ARRAY (time_ext_off); } }; + + +#if 6 <= _RWSTD_aCC_MAJOR + // restore HP aCC 6 remarks suppressed above to their default state +# pragma diag_default 4298, 4299 +#endif // aCC >= 6 static inline _RWSTD_SIZE_T