saniljhaveri / avr-project-ide

Automatically exported from code.google.com/p/avr-project-ide
0 stars 0 forks source link

Different compiler options required for C and C++ #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The AVR C and C++ compilers share most options, however some are compiler 
specific. As an example the default "other" options in API are:

-Wall -gdwarf-2 -std=gnu99

The "-std=gnu99" option however is only valid for the C compiler and a 
warning is issued when it appears on the C++ compiler's command line.

I suggest the use of separate options in the GUI/project definition so we 
can have a set of common options (e.g. as today), but individual "other" 
options that can be specific for C and C++.

Original issue reported on code.google.com by bflaglie@c2i.net on 26 Nov 2009 at 8:09

GoogleCodeExporter commented 8 years ago
change made in 62 allows for options for C, CPP, and S files separately
however CPP and S options cannot be exported to APS files

Original comment by frank.zhao.main@gmail.com on 29 Nov 2009 at 7:54