include file problems

Nacho de los Ríos Tormo irios@proin.es
Wed Nov 29 02:41:00 GMT 2000


> > 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


More information about the Sourcenav mailing list