Issue Details (XML | Word | Printable)

Key: STDCXX-550
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Eric Lemings
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[Sun C++] 64-bit conversion warnings building utilities

Created: 12/Sep/07 06:38 PM   Updated: 03/Jun/08 05:29 PM
Return to search
Component/s: Utilities
Affects Version/s: 4.1.2, 4.1.3, 4.1.4
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 0h
Time Spent - 8h
Time Spent: 8h
Time Spent - 8h

File Attachments:
  Size
Text File Licensed for inclusion in ASF works suncc-64-bit-warnings.txt 2007-09-12 06:39 PM Martin Sebor 23 kB
Environment: Sun C++ 5.9, wide (64-bit) mode
Issue Links:
Reference
 

Severity: Compiler Warning
Resolution Date: 03/Jun/08 05:29 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor made changes - 12/Sep/07 06:39 PM
Field Original Value New Value
Attachment suncc-64-bit-warnings.txt [ 12365662 ]
Martin Sebor made changes - 20/May/08 07:08 PM
Link This issue is related to STDCXX-200 [ STDCXX-200 ]
Martin Sebor made changes - 20/May/08 07:08 PM
Link This issue is related to STDCXX-547 [ STDCXX-547 ]
Martin Sebor made changes - 20/May/08 07:09 PM
Original Estimate 2h [ 7200 ]
Remaining Estimate 2h [ 7200 ]
Fix Version/s 4.2.2 [ 12313096 ]
Assignee Eric Lemings [ elemings ]
Eric Lemings made changes - 22/May/08 08:58 PM
Time Spent 8h [ 28800 ]
Remaining Estimate 2h [ 7200 ] 0h [ 0 ]
Eric Lemings made changes - 03/Jun/08 05:29 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]