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 125460 - Missed includes and macro definitions
Summary: Missed includes and macro definitions
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-17 10:57 UTC by Alexander Pepin
Modified: 2008-01-22 15:36 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 Pepin 2008-01-17 10:57:03 UTC
In the latest NB6.1 build (200801170000) in Tools->Options->C/C++ on Code Assistance tab all include directories and
macro definitions are missed for both C and C++ compilers (except __STDC__=1). On Linux Include Directories - OK but
macro definitions are missed either.
Comment 1 Vladimir Kvashin 2008-01-17 19:25:23 UTC
I committed a fix:

Checking in GNUCCCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/GNUCCCCompiler.java,v
 <--  GNUCCCCompiler.java
new revision: 1.3; previous revision: 1.2
done

I checked it on Linux; it works fine; I believe it's fixed on all unixes.
I'll check it on Windows tomorrow.

Comment 2 Vladimir Kvashin 2008-01-18 04:23:01 UTC
Fixed by the above mentioned commit
Comment 3 Vladimir Kvashin 2008-01-18 04:23:12 UTC
Fixed by the above mentioned commit
Comment 4 soldatov 2008-01-18 09:38:47 UTC
IDE works wrongly on windows (all include directory are missed)
Comment 5 Vladimir Kvashin 2008-01-18 12:33:58 UTC
The reason was that gcc/g++ under cygwin use "/" instead of File.separator (which is "\" on Windows).
Now fixed for Windows too.

Checking in GNUCCCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/GNUCCCCompiler.java,v
 <--  GNUCCCCompiler.java
new revision: 1.4; previous revision: 1.3
done
Comment 6 soldatov 2008-01-18 14:09:17 UTC
IDE works correctly with Cygwin compliler, but include paths to MinGW header files are missed
Comment 7 Vladimir Kvashin 2008-01-21 12:50:47 UTC
Now fixed for MunGW too.

Checking in GNUCCCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/GNUCCCCompiler.java,v
 <--  GNUCCCCompiler.java
new revision: 1.5; previous revision: 1.4
Comment 8 Alexander Pepin 2008-01-22 15:36:32 UTC
verified in NB6.1m1 (build 200801220251)