Re: GNU Automake 1.14 released

2013-07-27 Thread NightStrike
On Fri, Jun 21, 2013 at 8:01 AM, Stefano Lattarini wrote: > We are pleased to announce the GNU Automake 1.14 minor release. > > This release comes with two important changes: > > 1. It introduces a new feature aimed at making the implementation > of non-recursive build systems more convenie

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

2013-07-27 Thread Robert Boehne
You add that flag to CXXFLAGS on the configure command line. configure CXXFLAGS=-Wdeclaration-after-statement Along with any other options you need. 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

Re: GNU Automake 1.14 released

2013-07-27 Thread Eric Dorland
Hi Stefano, I was just getting around to packaging this for Debian and I have a question. Given the new versioning scheme shouldn't the APIVERSION (as defined in configure.ac) be 1.13 and not 1.14? Or more precisely, does it make sense for the binary to be renamed given that this release should ha

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

2013-07-27 Thread Robert Boehne
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-statement to gcc. Hence, when compiling foo.cpp, i have the warning : cc1plus.exe: warning: command line

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

2013-07-27 Thread Vincent Torri
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-statement to gcc. Hence, when compiling foo.cpp, i have the warning : cc1plus.exe: warning: command line option '-Wdeclaration-after-statement' is