Autodiscovery not working for nested preprocessor defines.
- 2 replies
- 784 views
Hello everybody,
I am wondering why autodiscovery is not working for nested preprocessor defines. In the attached project you can see the "#define DERIVATE 7890" is in "config.h" file.
In the "function1.c" file there is a block of #if ... #else .... #endif which based on the value of "DERIVATE" is grayed out correctly. Accordingly a nested definition for "test" occures inside the above mentioned #if ... #else .... #endif block. Now in "func2.c" there is another block of #if ... #else .... #endif which evaluates the value of the "test" but here the wrong blocks are grayed out which tells us the autodiscovery does not function for nested (or conditionally defined) preprocessor defines. Is there any work around this issue? I appreciate any comment on this.
Best Regards,
Manou
