[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian-med-packaging] cc1plus: error: -Wformat-security ignored without -Wformat (Re: CMake help needed to enable hdf5 for gatb-core)



Am Sonntag, den 10.12.2017, 11:44 +0100 schrieb Gert Wollny:
> Am Sonntag, den 10.12.2017, 08:13 +0100 schrieb Andreas Tille:
> > Hi again,
> > 
> > On Mon, Dec 04, 2017 at 05:59:28PM +0100, Andreas Tille wrote:
> > > some problems with gatb[1].  With the new upstream version, I
> > > get:
> > > 
> > > cc1plus: error: -Wformat-security ignored without -Wformat [-
> > > Werror=format-security]
> > > cc1plus: error: -Wformat-security ignored without -Wformat [-
> > > Werror=format-security]
> > 
> > I received another (unrelated) patch by Gert Wollny who told me
> > that
> > he can not reproduce the issue above.  I refreshed by cowbuilder
> > chroot but the issue remains:
> 
> Actually, now that I tried to compile it in a i386 changeroot I also
> saw it (before I was compiling on amd64). I'll investigate ... 

Now I understand: My changeroot is sid, but the host machine runs on
testing, so I didn't get the latest compiler version. The culprit now
is that with g+++ 7.2.0 one can give -Werror=format-security without
setting also -Wformat, as of g++ 7.2.1 this is now an error, and one
needs both, -Wformat and -Werror=format-security, hence the error.  

Best, 
Gert 
 


Reply to: