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 256262 - Code model does not recognize system macros
Summary: Code model does not recognize system macros
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: Sun Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-29 15:56 UTC by Alexander Simon
Modified: 2016-03-16 08:12 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 Alexander Simon 2015-10-29 15:56:45 UTC
Create Welcome application with studio tool chain.
add in first line of welcome.cc lines:

#ifndef __ATOMIC_RELAXED    
#error This is impossible
#endif    

Project can be built and ran.
But editor shows active error directive.
Comment 1 Alexander Simon 2015-10-30 08:01:59 UTC
Introduce compiler pre-included system headers.
Change sets on enum:
de1b3b3792d1
56af40868b0e
Comment 2 Alexander Simon 2015-10-30 09:26:54 UTC
pass system pre-included headers to code model in change set:
95fcf9009d34
Comment 3 Alexander Simon 2015-10-30 10:10:20 UTC
pass system pre-included headers to code model in change set (2):1876c3964f7c
Comment 4 Alexander Simon 2015-10-30 12:54:40 UTC
use FSPath, change set
46e148578b4d
Comment 5 Vladimir Voskresensky 2015-10-30 16:23:27 UTC
model part is fixed on enum
Comment 6 Quality Engineering 2015-11-03 02:27:28 UTC
Integrated into 'main-silver', will be available in build *201511030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d3785c3b0d8e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #256262 Code model does not recognize system macros
- tool collection & make project parts
(transplanted from de1b3b3792d1ebc0e19d6b93d560ede76f7f5dda)
Comment 7 Alexander Simon 2015-11-17 13:01:40 UTC
v.
Comment 8 soldatov 2015-11-20 22:13:07 UTC
Verified in NetBeans 8.1patch1