naggy icon indicating copy to clipboard operation
naggy copied to clipboard

All macros defined by gcc should be shown as defined by Naggy

Open saaadhu opened this issue 13 years ago • 2 comments

Naggy doesn't consider include paths, predefined symbols or any such tool chain settings set in C++ projects.

saaadhu avatar Jul 14 '11 14:07 saaadhu

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 ?

Cromagnon31 avatar Jan 03 '14 11:01 Cromagnon31

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

Cromagnon31 avatar Jan 26 '14 18:01 Cromagnon31