Issue Details (XML | Word | Printable)

Key: PCC-253
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Detlef Riekenberg
Votes: 0
Watchers: 1

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

broken code: widl build with pcc failed to parse include/wtypes.wdl

Created: 22/Feb/11 11:34 PM   Updated: 25/May/14 05:33 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File (249 kB)
2. File (6 kB)
3. File parser.tab_pcc-E.c (299 kB)

Environment: i386/linux

 Description  « Hide
pcc can compile tools/widl/* in Wine, but the resulting binary
failed to parse include/wtypes.idl from Wine:

../tools/widl/widl -I../../src/include -I. -I../../src/include -I../include -h -o activaut.h ../../src/include/activaut.idl
../../src/include/wtypes.idl:112: error: inapplicable attribute size_is for field SubAuthority

building tools/widl/ with gcc and then building widl works.
building from parser.tab_pcc-E.c with gcc and then building widl works.
=> the preprocessor from pcc works, the compiler is broken.

Commands, which produced broken code for
pcc -c -I../../../src/tools/widl -I. -I../../../src/include -I../../include -D__WINESRC__ -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -o


pcc -c parser.tab_pcc-E.c -o

By by ... Detlef

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 23/Feb/11 07:40 PM
There are a number of changes to pcc needed to support compilation of wine. They will be implemented on the development branch further on.

Anders Magnusson added a comment - 04/May/14 03:11 PM
Is this still a bug? I do not know how to reproduce it.

Anders Magnusson added a comment - 25/May/14 05:33 AM
No response, file another ticket if still a problem.