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.
Set "C Compiler|C Standard"=C11 #include <stdatomic.h> int main(int argc, char** argv) { atomic_int *p0; // ok _Atomic const int * p1; // unresolved p1 _Atomic(int)* p2; // unresolved p2 return (0); }
topic on forum - http://forums.netbeans.org/viewtopic.php?t=65268
Some other keywords are missing. See http://en.cppreference.com/w/c/keyword
Full list of unsupported keywords is: asm concept fortran requires _Alignas _Alignof _Atomic _Generic _Pragma _Static_assert _Thread_local See test CppLexerBatchTestCase.
partly fixed in change set: http://hg.netbeans.org/cnd-main/rev/fe8e8eb67ab0
Integrated into 'main-silver', will be available in build *201602130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fe8e8eb67ab0 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #257915 Unresolved C11 _Atomic - fixed _Alignas, _Alignof, _Static_assert and _Thread_local - partly fixed "_Atomic type" ("_Atomic(type)" still an issue) - not fixed _Generic
additional fix NPE: http://hg.netbeans.org/cnd-main/rev/50337b20b1a2
Remaining issues are extracted into bug 258327
Additional fixes: 295126 9c28236500db | alexvsimon | 2016-02-10 16:38 +0300 | unit test: restore deleted by mistake test 295125 bd367283a626 | alexvsimon | 2016-02-10 16:35 +0300 | unit test: make keywords test clear and add unsupported keywords (currently commented)
verified in builds on enum server
Verified in NetBeans 8.1 with latest updates. latest scenario moved to issue 258327