<< Back to previous view

[PCC-163] regression: libxml/parser.h is not detected by autoconf (compiler error: usednodes == 3, inlnodecnt 0) Created: 28/Jun/10  Updated: 26/Feb/11

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

Type: Bug Priority: Major
Reporter: Detlef Riekenberg Assignee: Unassigned
Resolution: Fixed Votes: 0
Environment: ubuntu 10.04 / i386

File Attachments: File parser.c     File parser_pcc-E.c    

 Description   
The configure script in Wine failed to detect libxml/parser.h with CC=pcc

Result for the attached example:
/libxml_parser$ pcc -I/usr/include/libxml2 -c parser.c
parser.c, line 8: compiler error: usednodes == 3, inlnodecnt 0

A preprocessed version for the example is attached:
_scrap/libxml_parser$ pcc -I/usr/include/libxml2 -c parser_pcc-E.c
parser_pcc-E.c, line 14233: compiler error: usednodes == 3, inlnodecnt 0

gcc compiles both files

--
By by ... Detlef





 Comments   
Comment by Detlef Riekenberg [ 28/Jun/10 07:44 PM ]
The configure script detected libxml/parser.h during my last try (24.jun)

--
By by ... Detlef

Comment by Anders Magnusson [ 12/Aug/10 08:27 AM ]
This seems to work now. Can you recheck with the latest sources?
Comment by Detlef Riekenberg [ 19/Aug/10 12:41 AM ]
Fixed for this location, Thanks ...

... but the failure is alive, when compiling tools/widl/*

/tools/widl/typetree.h, line 57: warning: illegal combination of pointer and integer
tools/widl/typetree.h, line 265: compiler error: usednodes == 5076, inlnodecnt 5075

workarounds for other bugs are needed.
See: http://wiki.winehq.org/pcc

--
By by ... Detlef
Comment by Detlef Riekenberg [ 23/Feb/11 05:26 AM ]
This failure message is gone, but compiling widl produce broken code.
(see bug http://pcc.ludd.ltu.se/jira/browse/PCC-253)

--
By by ... Detlef
Comment by Anders Magnusson [ 26/Feb/11 03:49 PM ]
Closed as the requestor says the problem is gone.
Generated at Thu Oct 30 13:18:29 CET 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.