naggy
naggy copied to clipboard
All macros defined by gcc should be shown as defined by Naggy
Naggy doesn't consider include paths, predefined symbols or any such tool chain settings set in C++ projects.
I include types libraries depending on compiler predefined symbols (GNUC, arm). Types depending on those symbols are considered as not defined. Is there a work around ?
May be invoking the compiler to generate compilers predefined macros is the way.when the target changes. For exemple : "C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.1002\avr8-gnu-toolchain\bin\avr-gcc.exe" -mmcu=atxmega128a3u -dM -E -x c nul http://nadeausoftware.com/articles/2011/12/c_c_tip_how_list_compiler_predefined_macros