This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Build memmem with -Wno-error.


On Wed, 01 Sep 2010 00:07:20 +0200, Joel Brobecker wrote:
> As far as I could tell, there is some configury to avoid the use
> of that flag if the compiler does not support it.

Just there could be a GCC historical moment when the message
	warning: format not a string literal, argument types not checked

was already produced while neither -Wformat-nonliteral nor
-Wno-format-nonliteral was yet supported.

The change enabling -Werror in such case would break it.  But let's pretend
-Wformat-nonliteral + -Wno-format-nonliteral were introduced at the moment
	warning: format not a string literal, argument types not checked

was introduced.

(I will check it in later.)


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]