<< Back to previous view

[PCC-282] pcc defaults for __SIZE_TYPE__ and __WINT_TYPE__ cannot be overridden Created: 17/Mar/11  Updated: 27/Jul/11

Status: Closed
Project: pcc
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Iain Hibbert Assignee: Iain Hibbert
Resolution: Fixed Votes: 0
Environment: NetBSD/i386

File Attachments: File diff     File diff2    

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..

Comment by Iain Hibbert [ 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
Comment by Iain Hibbert [ 27/Jul/11 04:45 PM ]
I have committed these changes now
Generated at Sun Oct 22 01:10:16 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.