From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nacho de los Ríos Tormo To: Mo DeJong Cc: sourcenav@sources.redhat.com Subject: Re:include file problems Date: Wed, 29 Nov 2000 02:41:00 -0000 Message-id: <00112911400200.00884@irios> References: X-SW-Source: 2000-q4/msg00281.html > > SNav only manages to find the correct files if I include them explicitly > > in the project (which calls for a trip to the project editor and to have > > the project reparsed). But these files themselves do include a variety of > > other files, which in their turn call others. > > > > Trying to manually include all the tree soon leads into confusion and > > dispair. And this is just for gettimeofday()! The thought of throwing in > > some threads and an ncurses interface sends shivers down my spine. > > > > Any ideas on what is wrong? > > Sounds like a bug. Why don't you take a shot at fixing it? > Take at look at the Preferences&::AddInclude methods at > line 879 of gui/preferences.tcl. That should get you started. > > Mo DeJong > Red Hat Inc I will try, but bearing in mind that I have no previous experience with either C++ or TCL/Tk don't expect results any time soon ... :-( Still, doesn't it seem unlikely that it be a problem in the source code? If it were, I'm sure everybody that had tried to build a program of any significance with SNav would have found the same problem. Most programs written nowadays must include files that are in subdirs of usr/include. Could it be something to do with environment variables or directory structure? After all, it seems that the problem occurs with SuSE but not with Red Hat ... Could you point me in some direction? Thanks for your support, Nacho de los Ríos Tormo