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.

Bug 242002 - 'true' is marked as a unresolved identifier (C99, OSS12.3 and Solaris 10)
Summary: 'true' is marked as a unresolved identifier (C99, OSS12.3 and Solaris 10)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-17 11:36 UTC by soldatov
Modified: 2014-02-18 03:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-02-17 11:36:31 UTC
I have Solaris 10 machine and Oracle Solaris Studio 12.3

Scenario:
- Launch NetBeans 8.0
- Create C/C++ Application project with such main.c file:
#include <stdbool.h>

int main(int argc, char** argv) {
    static _Bool i = true;
    return (0);
}

- Call Project Properties window and set Build|C Compiler|C Standard = C99 and Build|C Compiler|Additional Options = -xc99
- Build project
===> ok
- Check editor
===> true is marked as a unresolved identifier
Comment 1 Alexander Simon 2014-02-17 13:27:18 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/b19d8f421043
Comment 2 Quality Engineering 2014-02-18 03:14:50 UTC
Integrated into 'main-silver', will be available in build *201402180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b19d8f421043
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #242002 'true' is marked as a unresolved identifier (C99, OSS12.3 and Solaris 10)