Issue Details (XML | Word | Printable)

Key: PCC-61
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Mattias Pantzare
Votes: 0
Watchers: 1

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

Include dir order not right

Created: 07/Jun/09 01:08 AM   Updated: 01/May/14 03:59 PM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

 Description  « Hide
The system include dir will be searched before the compiler include dir.

On OS X the system stdarg.h will not work with PCC, but the one provided with pcc will. But the default is to use the system stdarg.h.

Changing the order from:

av[na++] = "-S", av[na++] = altincdir;
av[na++] = "-S", av[na++] = incdir;
av[na++] = "-S", av[na++] = pccincdir;


av[na++] = "-S", av[na++] = altincdir;
av[na++] = "-S", av[na++] = pccincdir;
av[na++] = "-S", av[na++] = incdir;

fixed the problem for me.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 01/May/14 03:59 PM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]