You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/05/20 21:23:55 UTC

[jira] Updated: (STDCXX-200) [Sun C++] 64-bit truncation warnings

     [ https://issues.apache.org/jira/browse/STDCXX-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-200:
--------------------------------

              Severity: Compiler Warning
     Affects Version/s: 4.1.4
                        4.2.0
                        4.2.1
         Fix Version/s:     (was: 4.2.0)
                        4.2.2
              Assignee: Eric Lemings  (was: Martin Sebor)
    Remaining Estimate: 6h
     Original Estimate: 6h
               Summary: [Sun C++] 64-bit truncation warnings  (was: [Sun C++ 5.8] 64-bit truncation warnings)

Scheduled for 4.2.2 and assigned to Brad.

> [Sun C++] 64-bit truncation warnings
> ------------------------------------
>
>                 Key: STDCXX-200
>                 URL: https://issues.apache.org/jira/browse/STDCXX-200
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3, 4.1.4, 4.2.0, 4.2.1
>         Environment: Sun C++ 5.8/Solaris 10
>            Reporter: Martin Sebor
>            Assignee: Eric Lemings
>            Priority: Minor
>             Fix For: 4.2.2
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> A wide (64-bit) build of the library with Sun C++ 5.8 produces the warnings below:
> gmake[2]: Entering directory `/build/sebor/sunpro-5.8.j1-15S/lib'
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/codecvt.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 4 Warning(s) detected.
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/collate.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 4 Warning(s) detected.
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/ctype.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 4 Warning(s) detected.
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/facet.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 4 Warning(s) detected.
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/iso2022.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 4 Warning(s) detected.
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/locale_core.cpp
> "/amd/devco/sebor/dev/stdlib/src/locale_core.cpp", line 136: Warning: Conversion of 64 bit type value to "int" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/locale_core.cpp", line 136: Warning: Conversion of 64 bit type value to "int" causes truncation.
> 2 Warning(s) detected.
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/num_get.cpp
> "/amd/devco/sebor/dev/stdlib/src/num_get.cpp", line 422: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/num_get.cpp", line 451: Warning: Conversion of 64 bit type value to "int" causes truncation.
> 2 Warning(s) detected.
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/num_put.cpp
> "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 413: Warning: Conversion of 64 bit type value to "const int" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 413: Warning: Conversion of 64 bit type value to "const int" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 722: Warning: Conversion of 64 bit type value to "int" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 749: Warning: Conversion of 64 bit type value to "int" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 779: Warning: Conversion of 64 bit type value to "int" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 807: Warning: Conversion of 64 bit type value to "int" causes truncation.
> 6 Warning(s) detected.
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/punct.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 170: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 183: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 200: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 187: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 350: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 363: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 380: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 385: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 367: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 13 Warning(s) detected.
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/strstream.cpp
> "/amd/devco/sebor/dev/stdlib/include/strstream", line 188: Warning: std::istrstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *).
> "/amd/devco/sebor/dev/stdlib/include/strstream", line 226: Warning: std::ostrstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *).
> "/amd/devco/sebor/dev/stdlib/include/strstream", line 266: Warning: std::strstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *).
> 3 Warning(s) detected.
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/time_put.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 413: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 414: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 415: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 416: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 417: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 605: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 630: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2022: Warning: Conversion of 64 bit type value to "int" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2660: Warning: Conversion of 64 bit type value to "const unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2660: Warning: Conversion of 64 bit type value to "const unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2760: Warning: Conversion of 64 bit type value to "const unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2760: Warning: Conversion of 64 bit type value to "const unsigned" causes truncation.
> 16 Warning(s) detected.
> ...
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/wcodecvt.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 4 Warning(s) detected.
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j1-15S/include  -library=%none -g  -xarch=v9 +w   /amd/devco/sebor/dev/stdlib/src/wctype.cpp
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning: Conversion of 64 bit type value to "unsigned" causes truncation.
> 4 Warning(s) detected.
> CC -xar -o   libstd15S.a assert.o atomic-cxx.o bitset.o catalog.o codecvt.o collate.o ctype.o ctype_bits.o exception.o export.o facet.o file.o instance.o ios.o ios_bits.o iostore.o iostream.o iso2022.o limits.o limits_bits.o locale_bits.o locale_body.o locale_classic.o locale_combine.o locale_core.o locale_eq.o locale_global.o locale_name.o memattr.o memory.o messages.o num_get.o num_put.o punct.o random.o setlocale.o string.o strstream.o strtol.o ti_collate.o ti_filebuf.o ti_insert_dbl.o ti_insert_int.o ti_insert_ptr.o ti_ios.o ti_istream.o ti_messages.o ti_money_get.o ti_money_put.o ti_moneypunct.o ti_num_get.o ti_num_put.o ti_numpunct.o ti_ostream.o ti_streambuf.o ti_string.o ti_stringbuf.o ti_time_get.o ti_time_put.o ti_wcollate.o ti_wfilebuf.o ti_winsert_dbl.o ti_winsert_int.o ti_winsert_ptr.o ti_wios.o ti_wistream.o ti_wmessages.o ti_wmoney_get.o ti_wmoney_put.o ti_wmoneypunct.o ti_wnum_get.o ti_wnum_put.o ti_wnumpunct.o ti_wostream.o ti_wstreambuf.o ti_wstring.o ti_wstringbuf.o ti_wtime_get.o ti_wtime_put.o time_get.o time_put.o tmpbuf.o typeinfo.o valarray.o vecbool.o version.o wcodecvt.o wctype.o 
> gencat rwstderr.cat /amd/devco/sebor/dev/stdlib/src/rwstderr.msg
> gmake[2]: Leaving directory `/build/sebor/sunpro-5.8.j1-15S/lib'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.