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.
File: CXX/expr/expr.const/p5-0x.cpp Errors: CXX/expr/expr.const/p5-0x.cpp 64 unexpected token: ok Expected error: CXX/expr/expr.const/p5-0x.cpp 65 unexpected token: incomplete Expected error: CXX/expr/expr.const/p5-0x.cpp 66 unexpected token: expl Expected error: CXX/expr/expr.const/p5-0x.cpp 67 unexpected token: ambig Code: struct OK { constexpr OK() {} constexpr operator int() { return 8; } } constexpr ok; // [dcl.align]p2: When the alignment-specifier is of the form // alignas(assignment-expression), the assignment-expression shall be an // integral constant expression int alignas(ok) alignas1;
http://hg.netbeans.org/cnd-main
Fixed in http://hg.netbeans.org/cnd-main/rev/7441404ddffd
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7441404ddffd User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243522 - inaccuracy tests (clang): alignas
verified no errors in latest test report
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/832ac877ef7f User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243522 - inaccuracy tests (clang): alignas (transplanted from 7441404ddffd93b55cd83a671f9a6fd9aaff3958)
*** Bug 224034 has been marked as a duplicate of this bug. ***