Issue Details (XML | Word | Printable)

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

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

pcc is still unable to detect freetype2

Created: 22/Aug/09 09:10 PM   Updated: 04/May/14 03:04 PM
Component/s: C preprocessor
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Text File _diff_define_max.txt (1 kB)
2. Text File _diff_extend_limits.txt (0.7 kB)
3. File ft2.c (0.1 kB)

Environment: i386-linux


 Description  « Hide
This is an update of: http://pcc.ludd.ltu.se/jira/browse/PCC-76

A configure script still failed to detect freetype2, when using pcc.
Attached is an updated testcase.

With the spaces (one to lots of) before #include, pcc bail out with:

_scrap/ft2$ pcc -I/usr/include/freetype2 ft2.c -c -o ft2_pcc.o
ft2.c, line 16: syntax error

There are 2 Problems here.
1. pcc failed to compile that code.
    (The standard might say, that the "#" is expected to be in the first column,
    but the attached code works with gcc and tcc)

2. The failure message say "line 16", while the source has only 5 lines

--
By by ... Detlef


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Detlef Riekenberg made changes - 13/Jun/10 04:54 PM
Field Original Value New Value
Attachment _diff_define_max.txt [ 10106 ]
Attachment _diff_extend_limits.txt [ 10107 ]
Detlef Riekenberg made changes - 13/Jun/10 05:18 PM
Attachment _diff_extend_limits.txt [ 10107 ]
Detlef Riekenberg made changes - 13/Jun/10 05:19 PM
Attachment _diff_extend_limits.txt [ 10108 ]
Detlef Riekenberg made changes - 13/Jun/10 05:39 PM
Comment [ Here is the second patch.
--
By by ... Detlef ]
Detlef Riekenberg made changes - 14/Jun/10 01:05 PM
Attachment _diff_extend_limits.txt [ 10108 ]
Detlef Riekenberg made changes - 14/Jun/10 01:09 PM
Attachment _diff_extend_limits.txt [ 10109 ]
Anders Magnusson made changes - 04/May/14 03:03 PM
Assignee Anders Magnusson [ ragge ]
Anders Magnusson made changes - 04/May/14 03:04 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]