For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > December 2004 > Can I change the default directory used by the "Find Error" function in the









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Can I change the default directory used by the "Find Error" function in the
Rufus V. Smith

2004-12-27, 3:57 pm

I use a custom build process when I compile my project, in an external
make file.

The problem is, the error messages (out of the compiler I'm using) only
contain the file name, not the path.

Is there a way to change the directory used for a default in finding files?

I know the directory containing the files generating the errors.

I'd like to be able to tell the ide which directory they are in. It does
have its own idea of a start directory (it doesn't start at the root when
a file doesn't include the full path).

e.g.:

I have a directory containing source files:

C:\Sandbox\utilities\fc

and the makefile has gone into that directory
to compile that library.

I get error/warning messages of the form:

fc_cf.c(497) : warning 652: databyte: Variable is never used.
fc_cf.c(497) : warning 652: i: Variable is never used.

but when I click on them, I get:

'C:\Sandbox\fc_cf.c' Cannot open file. File not found.

< time passes...>

made one further test, if I create a makefile project file in the directory
of those sources, calling the same makefile, I can set that to
the active project and if I do a compile, it will use that directory
for the start directory when doing a "Find error".

(But I can't select it after a compile, because the output window
is smart enough to remember which project directory was used for
the compile. So errors in multiple directories is still a problem).

Any suggestions?

Rufus


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com