This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
C tool is cc (Oracle Solaris Studio compiler). Code: int main(int argc, char** argv) { #ifdef __RESTRICT #error "wrong model" #endif return 0; } Code is compiled with additional flag -Xc: cc -Xc -c -g -o build/Debug/OracleSolarisStudio-Solaris-x86/newmain.o newmain.c Code model stops parsing on error directive.
Integrated into 'main-silver', will be available in build *201401170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3b0f0587bb76 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #240538 Tool collection does not undefined macros that depends on compiler flag - extend macros checker. - fix Studio and GNU predefined macros
Integrated into 'main-silver', will be available in build *201401180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d7a9be67e625 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #240538 Tool collection does not undefined macros that depends on compiler flag - fix macros equals "A=1" == "A"
Integrated into 'main-silver', will be available in build *201401210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f544500e62af User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #240538 Tool collection does not undefined macros that depends on compiler flag - use important flags for detecting predefined paths and macros
*** Bug 240545 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201401220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/aae2ee367f02 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #240538 Tool collection does not undefined macros that depends on compiler flag - convert dwarf language to flag
Integrated into 'main-silver', will be available in build *201401230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e9d0eef8651b User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #240538 Tool collection does not undefined macros that depends on compiler flag - -K PIC & -K pic can be important flags