Re: passing flags to C compiler but not to C++ compiler

2013-07-29 Thread Robert Boehne
On 07/27/13 16:26, Vincent Torri wrote: On Sat, Jul 27, 2013 at 10:24 PM, Robert Boehne wrote: On 07/27/13 00:32, Vincent Torri wrote: hello in my sources, i have both C and C++ files. Something like my_lib_la_SOURCES = foo.c foo.cpp I want to pass, for example, -Wdeclaration-after-stateme

Re: passing flags to C compiler but not to C++ compiler

2013-07-29 Thread Vincent Torri
On Mon, Jul 29, 2013 at 5:17 PM, Robert Boehne wrote: > On 07/27/13 16:26, Vincent Torri wrote: >> >> On Sat, Jul 27, 2013 at 10:24 PM, Robert Boehne >> wrote: >>> >>> >>> On 07/27/13 00:32, Vincent Torri wrote: hello in my sources, i have both C and C++ files. Something like

Re: passing flags to C compiler but not to C++ compiler

2013-07-29 Thread Robert Boehne
On 07/29/13 10:55, Vincent Torri wrote: On Mon, Jul 29, 2013 at 5:17 PM, Robert Boehne wrote: On 07/27/13 16:26, Vincent Torri wrote: On Sat, Jul 27, 2013 at 10:24 PM, Robert Boehne wrote: On 07/27/13 00:32, Vincent Torri wrote: hello in my sources, i have both C and C++ files. Something