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/09/12 20:39:32 UTC

[jira] Updated: (STDCXX-550) [Sun C++] 64-bit conversion warnings building utilities

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

Martin Sebor updated STDCXX-550:
--------------------------------

    Attachment: suncc-64-bit-warnings.txt

Attached a build log with the warnings.

> [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
>            Priority: Minor
>         Attachments: suncc-64-bit-warnings.txt
>
>
> 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.