Include path parsing for code assistance

  • From:
  • To: netbeans < >
  • Subject: Include path parsing for code assistance
  • Date: Thu, 28 Feb 2013 11:11:38 +0100 (CET)

Hi

If I look in Code assistance->Failed #include/#error directives, then for one 
source file I see [paths changed somewhat]

User include paths for source file:
     /usr/local/include
     /usr/include/gdbm [does not exist]
     /u/paulf/sandbox/include
     /u/paulf/include
     /u/paulf/include/internal [does not exist]
     /packages/perl
     /u/paulf/sandbox
 System include paths for source file:
     /usr/local/include
     /usr/local/soft/gcc/4.2.4/include
     /usr/local/soft/gcc/4.2.4/lib/gcc/i686-pc-linux-gnu/4.2.4/include
     /usr/include

In the properties for the same file, in C compiler->Compilation Line, the 
following -I options are present

-I/usr/local/include
-I/usr/include/gdbm
-I./include
-I/packages/X.Y.Z/include
-I/packages/X.Y.Z/include/internal
-I/packages/perl

It seems as though "/packages/include" and "/packages/include/internal" are 
not being added. If it is of any consequence, they both contain only symbolic 
links to header files. Could this be related to the recent "Code assistance 
and symlinks" thread?

I could try adding these paths manuallt, but I'd rather it work automatically 
since, as the 'X.Y.Z' implies, the path is versioned and changes frequently.

A+
Paul


Include path parsing for code assistance

paulf 02/28/2013

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close