Issue Details (XML | Word | Printable)

Key: PCC-282
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Iain Hibbert
Reporter: Iain Hibbert
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

pcc defaults for __SIZE_TYPE__ and __WINT_TYPE__ cannot be overridden

Created: 17/Mar/11 01:37 PM   Updated: 27/Jul/11 05:00 PM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File diff (0.9 kB)
2. File diff2 (1 kB)

Environment: NetBSD/i386

 Description  « Hide
on NetBSD, the size_t and wint_t are defined in machine dependent include files, and the base type is not always the same as the defaults provided by pcc __*_TYPE__ definition. The patch attached allows them to be overidden at build time..

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Iain Hibbert added a comment - 17/Mar/11 03:46 PM
and the diff2 patch contains the necessary for os/netbsd/ccconfig.h to provide the correct values,
taken from the different src/sys/arch/*/include/ansi.h files

Iain Hibbert added a comment - 27/Jul/11 04:45 PM
I have committed these changes now