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 175789

Summary: [code model] Missing some system includes
Product: cnd Reporter: rmartins <rmartins>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Source's related files
Gateway.lo

Description rmartins 2009-10-30 15:35:33 UTC
Hi,
while using ACE_TAO, I have found that there is a regression on the parser's capabilities to find some system includes.
Ex:
ace/os_include/os_aio.h ==> error, missing aio.h
(in attach. I submitted the "Source's related files")
The problem is that "/usr/include" is missing?? (but it's specified in completion menu under C compiler and c++ compiler)

Thanks,
Rolando
Comment 1 rmartins 2009-10-30 15:36:26 UTC
Created attachment 90311 [details]
Source's related files
Comment 2 Alexander Simon 2009-10-30 20:59:54 UTC
Rolando,
thank you very match for issue.
To my shame, I do not have a regression test for regression in "system includes".
Comment 3 rmartins 2009-10-31 20:09:15 UTC
Hi Alexander,
no problem;)

But I forgot one major thing, I have upgraded to Ubuntu karmic and the gcc version is now 4.4.1. :(
This could be the problem, right?

Thanks,
Rolando

P.S.: do you need any object files?
Comment 4 rmartins 2009-11-01 23:10:43 UTC
Hi Alexander,
I have confirmed the problem with the new gcc.
I installed gcc 4.3 and everything was ok.

Thanks,
Rolando
Comment 5 Vladimir Voskresensky 2009-11-02 06:11:16 UTC
Hi, Rolando,
So we will need an object file for Gate.cpp compiled with 4.4.1

Thanks,
Vladimir.
Comment 6 rmartins 2009-11-02 09:14:54 UTC
Created attachment 90403 [details]
Gateway.lo
Comment 7 rmartins 2009-11-02 09:15:20 UTC
Hi Vladimir,
I think you meant Gateway.cpp? I have put it in attach.

Thanks,
Rolando
Comment 8 Alexander Simon 2009-11-02 09:18:25 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/f346e1c89893
Comment 9 Quality Engineering 2009-11-03 10:23:24 UTC
Integrated into 'main-golden', will be available in build *200911030222* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f346e1c89893
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed IZ#175789 [code model] Missing some system includes