
| Key: |
STDCXX-348
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Martin Sebor
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Time Tracking:
|
|
Original Estimate:
|
2h
|
|
|
Remaining Estimate:
|
2h
|
|
|
Time Spent:
|
Not Specified
|
|
|
|
|
Environment:
|
HP aCC 3.73 +DD64, HP-UX/PA-RISC
|
|
| Severity: |
Compiler Warning
|
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,
^^^^^^^^^^^^^^^^
|
|
Description
|
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,
^^^^^^^^^^^^^^^^ |
Show » |
|