T O P I C R E V I E W |
tailsu |
Posted - Sep 05 2007 : 03:49:28 AM VA has a nice feature that allows it to suggest defined preprocessor macros.
There is, however, another use case - some libraries use macros to tweak its behavior, e.g. #ifdef BOOST_ENABLE_SOME_OBSCURE_FEATURE ... #endif
Note that BOOST_ENABLE_SOME_OBSCURE_FEATURE is nowhere defined and is left by the library developer to the user to define.
I propose that VA looks for such preprocessor conditions and suggest them when the user starts writing a #define. |
2 L A T E S T R E P L I E S (Newest First) |
tailsu |
Posted - Sep 05 2007 : 11:31:52 AM My specific case is an exception, though. However, what you said makes it lose its generality, so I rest my case :) |
feline |
Posted - Sep 05 2007 : 08:43:32 AM This is a very interesting idea.
I do wonder how helpful this would really be though, since in my experience people often add these define's to the IDE's project settings. Since this is an IDE dialog, it is not something VA interacts with. |
|
|