<< Back to previous view

[PCC-76] #include MACRONAME failed (needed for freetype2) Created: 12/Aug/09  Updated: 15/Aug/09

Status: Resolved
Project: pcc
Component/s: C preprocessor
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Detlef Riekenberg Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: i386 linux (Ubuntu 8.04)

File Attachments: File ft2.c    

An autoconf script failed to detect freetype2, when using pcc.

The freetype2 dev package is installed in the default location (/usr/include/freetype2)

_scrap/ft2$ pcc -I/usr/include/freetype2 ft2.c -c -o ft2_pcc.o
/usr/include/freetype2/freetype/freetype.h:41: error: bad include

(pcc on Ubuntu 9.04 has the same failure with a different line number)

By by ... Detlef

Comment by Anders Magnusson [ 15/Aug/09 10:25 AM ]
Fixed. IDENTs in #define directives were not expanded correctly.
Generated at Sat Oct 21 06:55:16 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.