<< Back to previous view

[PCC-253] broken code: widl build with pcc failed to parse include/wtypes.wdl Created: 22/Feb/11  Updated: 25/May/14

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

Type: Bug Priority: Major
Reporter: Detlef Riekenberg Assignee: Anders Magnusson
Resolution: Incomplete Votes: 0
Environment: i386/linux

File Attachments: File parser.tab.c     File parser.tab.h     File parser.tab_pcc-E.c    

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/parser.tab.o with gcc and then building widl works.
building parser.tab.o 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 parser.tab.o:
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 parser.tab.o parser.tab.c


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

By by ... Detlef

Comment by Anders Magnusson [ 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.
Comment by Anders Magnusson [ 04/May/14 03:11 PM ]
Is this still a bug? I do not know how to reproduce it.
Comment by Anders Magnusson [ 25/May/14 05:33 AM ]
No response, file another ticket if still a problem.
Generated at Thu Oct 19 07:33:56 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.