You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/03/08 01:00:48 UTC
[jira] Created: (STDCXX-348) [HP aCC 3.73] +DD64 warnings in
time_put.cpp
[HP aCC 3.73] +DD64 warnings in time_put.cpp
--------------------------------------------
Key: STDCXX-348
URL: https://issues.apache.org/jira/browse/STDCXX-348
Project: C++ Standard Library
Issue Type: Bug
Components: Build
Affects Versions: 4.1.3, 4.1.4
Environment: HP aCC 3.73 +DD64, HP-UX/PA-RISC
Reporter: Martin Sebor
Priority: Minor
Compiling the time_put.cpp library source file with HP aCC 3.73 produces the following warnings:
aCC -c -I/amd/devco/sebor/stdcxx/include/ansi -I/usr/include -mt -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-aCC-3.73-12D/include -Aa +nostl +O2 +DD64 +w +W392 +W655 +W684 +W818 +W819 +W849 +Z /amd/devco/sebor/stdcxx/src/time_put.cpp
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2122 # Type 'unsigned int' is smaller than type
'unsigned long', unwanted widening in value may result.
tpd.str = ptime->abday (tmb->tm_wday % 7U, wide);
^^^^^^^^^^^^^^^^^
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2127 # Type 'unsigned int' is smaller than type
'unsigned long', unwanted widening in value may result.
tpd.str = ptime->day (tmb->tm_wday % 7U, wide);
^^^^^^^^^^^^^^^^^
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2132 # Type 'unsigned int' is smaller than type
'unsigned long', unwanted widening in value may result.
tpd.str = ptime->abmon (tmb->tm_mon % 12U, wide);
^^^^^^^^^^^^^^^^^
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2137 # Type 'unsigned int' is smaller than type
'unsigned long', unwanted widening in value may result.
tpd.str = ptime->mon (tmb->tm_mon % 12U, wide);
^^^^^^^^^^^^^^^^^
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2251 # Type 'unsigned int' is smaller than type
'unsigned long', unwanted widening in value may result.
tpd.fmt = ptime->abmon (tmb->tm_mon % 12U, wide);
^^^^^^^^^^^^^^^^^
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2349 # Type 'unsigned int' is smaller than type
'unsigned long', unwanted widening in value may result.
tpd.fmt = ptime->am_pm ((tmb->tm_hour / 12) % 2U, wide);
^^^^^^^^^^^^^^^^^^^^^^^
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2679 # Type 'const unsigned int' is smaller than
type 'unsigned long', unwanted widening in value may result.
_RWSTD_STATIC_CAST (const char*, ptime->alt_digits (altval, 0));
^^^^^^^^^^^^^^^^^^
Warning (suggestion) 887: "/amd/devco/sebor/stdcxx/src/time_put.cpp", line 2801 # Type 'int' is smaller than type 'unsigned
long', unwanted widening in value may result.
res = swprintf (wbuf,
^^^^^^^^^^^^^^^^
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.