T O P I C R E V I E W |
Frunobulax |
Posted - Mar 25 2008 : 05:38:29 AM Hi,
nothing spectacular, but in C++ it would be nice if VAX wouldn't offer to include files (in the suggestion box) that are already included in this file.
Regards, tv |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Mar 25 2008 : 10:43:24 AM That is an interesting idea, and I do see the appeal.
I can see a couple of possible problems. Firstly how do we define "already included"? It sounds easy, but what about:
#ifdef LINUX #include <foo.h> #endif
is "foo.h" already included or not? Conditional includes are a little nasty, but also somewhat common.
Secondly, when you type something like:
#include "../dir1/|"
VA lists all of the include files in this directory.
Thinking more about this, you can also have the same header file in different directories. Normally this should not be a problem, but it is an edge case we need to consider.
I like this idea, I am just not sure how to make it work correctly. |
|
|