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.
Summary: | Does not correctly recognize ISO C++ header file | ||
---|---|---|---|
Product: | cnd | Reporter: | Sanjeeb Sahoo <sahoo> |
Component: | Editor | Assignee: | issues@cnd <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Sanjeeb Sahoo
2007-05-24 13:58:19 UTC
What is the version of cnd do you use? I've put in my PATH variable Sun Studio 10 and the #include <cstdlib> was correctly recognized, I can hyperlink into it Btw, there is cstdlib file in SS10 distribution. #find . -name "cstdlib*" ./opt/SUNWspro/prod/include/CC/cstdlib.SUNWCCh ./opt/SUNWspro/prod/include/CC/std/cstdlib ./opt/SUNWspro/prod/include/CC/stlport4/cstdlib.SUNWCCh ./opt/SUNWspro/prod/include/CC/stlport4/cstdlib May be IDE should be restarted? I am using cnd version 5.5, which I recently downloaded from netbeans.org. The PATH variable in shell where IDE is started has /opt/studio10/SUNWspro/bin/, which is where Sun C++ compiler resides in my system. In the Sun C++ compiler options under C++ options settings of my IDE, I don't see /opt/studio10/SUNWspro/prod/include/CC/std being listed. I see only the following directories listed there: -xbuiltin /opt/studio10/SUNWspro/prod/include/CC/Cstd /opt/studio10/SUNWspro/prod/include/CC /opt/studio10/SUNWspro/prod/include/CC/rw7 /opt/studio10/SUNWspro/prod/include/cc /usr/include. I have not changed these settings. I have restarted my IDE as well. By the way, why is -xbuiltin listed as one of the directories? Do you use 'CC -dryrun' to get the list of default include directories? Thanks, Sahoo -xbuiltin bug was fixed http://www.netbeans.org/issues/show_bug.cgi?id=89872 yesterday NB and CND 5.5.1 were released, please try it and check if it works for you. CND 5.5.1 is OK to work in NB 5.5 as well. closing as duplicate *** This issue has been marked as a duplicate of 89872 *** and yes, we use CC -xdryrun to extract predefined include paths. Thanks, Vladimir. |