OpenSolaris

Printable Version Enter a New Search
Bug ID 6309742
Synopsis gcc and mpxu tsalarm don't get along
State 11-Closed:Verified (Closed)
Category:Subcategory kernel:driver-tsalarm
Keywords tonic-gcc
Responsible Engineer Suifong Chan
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_24
Fixed In snv_24
Release Fixed solaris_nevada(snv_24)
Related Bugs
Submit Date 11-August-2005
Last Update Date 6-October-2005
Description
mpxu's tsalarm getinfo() casts between a pointer and integer of
different size, triggering a warning when built with gcc.  The standards
do not specify whether such casts cause sign extension; gcc sign-extends
and warns while Studio does neither.  The safe way to keep the current
behaviour is to cast to uintptr_t first.

See suggested fix for more detail.
Work Around
N/A
Comments
N/A