Ticket #61 (new bug)

Opened 3 years ago

preprocessor treats integer constants as 16 bit

Reported by: verm Assigned to: tendra
Priority: high Milestone: 5.0.0
Component: Producers Version: HEAD
Severity: normal Keywords:
Cc: Operating System: Any
Hardware: Any Sub Component: Producers - c

Description

Reporter: Stuart Walsh <stu@ipng.org.uk> Opened: 2003-10-22 17:38

The preprocessor interprets un siffixed integer constants to be 16 bit and therefore #if 1 < 0xffffffff will not work. The spec says that these should be treated as long and therefore fit into 32 bits.