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 234867 - mysql has incorrect #error directive
Summary: mysql has incorrect #error directive
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-23 11:42 UTC by Vladimir Voskresensky
Modified: 2013-08-23 13:48 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 Vladimir Voskresensky 2013-08-23 11:42:52 UTC
there is an #error directive in header file rpl_utility.h guarded by 
#ifndef __cplusplus
#error "Include only from C++" source files
#endif

Include hierarchy shows that header is included only from C++ files and all this files have C++ language property
=> preprocessor works incorrectly
Comment 1 Vladimir Voskresensky 2013-08-23 13:48:46 UTC
http://hg.netbeans.org/cnd-main/rev/f0f30eea5f22