Issue Details (XML | Word | Printable)

Key: PCC-113
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Altamiranus
Votes: 0
Watchers: 0
Operations

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

__QI__ mode not recognized

Created: 22/Jan/10 11:11 PM   Updated: 25/Feb/10 05:34 PM
Component/s: Common code
Affects Version/s: None
Fix Version/s: None

Environment: All


 Description  « Hide
I assume this has to do with datatype sizes. PCC recognizes __SI__, __HI__ and __DI__ but not __QI__. In some Linux environments, sys/types.h uses __QI__.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Altamiranus added a comment - 22/Jan/10 11:19 PM
I believe __QI__ is for the 'char' type.

Altamiranus added a comment - 22/Jan/10 11:54 PM
If I'm correct, the fix should be just a matter of adding a new entry for this attribute in gcc_attribs() [at cc/ccom/gcc_compat.c, line 359.]

Anders Magnusson added a comment - 25/Feb/10 05:34 PM
You're correct, so I've added it. Thanks!