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

Eric Lemings resolved STDCXX-550.
---------------------------------

    Resolution: Fixed

> [Sun C++] 64-bit conversion warnings building utilities
> -------------------------------------------------------
>
>                 Key: STDCXX-550
>                 URL: https://issues.apache.org/jira/browse/STDCXX-550
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 4.1.2, 4.1.3, 4.1.4
>         Environment: Sun C++ 5.9, wide (64-bit) mode
>            Reporter: Martin Sebor
>            Assignee: Eric Lemings
>            Priority: Minor
>             Fix For: 4.2.2
>
>         Attachments: suncc-64-bit-warnings.txt
>
>   Original Estimate: 2h
>          Time Spent: 8h
>  Remaining Estimate: 0h
>
> Compiling the utilities with Sun C++ in wide (64-bit) mode produces a large 
> number of warnings of the type: Conversion of 64 bit type value to "unsigned" 
> causes truncation. Most of these might be benign and can be silenced by 
> adding appropriate casts but there might be some, especially those involving 
> unsigned char, that should be reviewed more carefully to make sure they don't 
> indicate real problems. For example, the localedef utility should validate 
> data read from character set description files and locale definition files to 
> make sure it's in the range of unsigned char (or 8 bit unsigned integer type 
> to be precise) and issue diagnostics for values that exceed this range.

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

Reply via email to