Summary: | "i386" macro not set | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | heithecker |
Component: | kdevelop 2.x (obsolete) | Assignee: | KDevelop-Devel List <kdevelop-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | hausmann |
Priority: | NOR | ||
Version: | 2.1.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
heithecker
2002-06-14 12:18:17 UTC
This is probably due to some command line arguments or additional libraries overriding this define. I just tested this on a file and it found 'i386' when I just did a 'g++ main.cpp -o main', but when I used the Makefile it went away. Alternatively you could try to use __i386 - it worked. The fact that i386 is not defined when compiling using the Makefile is that -ansi is part of the CXXFLAGS. The right macro name that is ANSI compliant is __i386 . |