Summary: | Wrong preprocessing when value of a define is "powerpc" | ||
---|---|---|---|
Product: | gcc | Reporter: | Guillaume Libersat <glibersat> |
Component: | preprocessor | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | 4.1.2 | ||
Target Milestone: | --- | ||
Host: | powerpc-linux-gnu | Target: | powerpc-linux-gnu |
Build: | powerpc-linux-gnu | Known to work: | |
Known to fail: | Last reconfirmed: |
Description
Guillaume Libersat
2006-10-22 12:59:50 UTC
powerpc is one of the standard defines gcc defines if running on ppc-linux. It is changed to __powerpc if you define powerpc yourself. Note if you add -pedantic or -ansi or -std=c99 or -std=c89, powerpc will not be defined as it is not in the reserved space. |