On Fri 04 Jul 2014 12:18:53 David A. Wheeler wrote:
> This does not help you right now, but Dale Visser posted a patch to autoconf
> a few months ago that would solve your problem correctly. His patch adds
> the ability to check if a compiler supports a particular flag. My hope is
> that this abili
This does not help you right now, but Dale Visser posted a patch to autoconf a
few months ago that would solve your problem correctly. His patch adds the
ability to check if a compiler supports a particular flag. My hope is that this
ability will soon be added to autoconf. Clearly some people wa
On 07/03/2014 11:38 PM, Minxuan Zhuang wrote:
> a project needs to satisfy both gcc 4.1.2 and gcc 4.7.3, but some options
> in the latter one(like -Wno-narrowing and Wno-unused-result) cannot be used
> in the former one. So I need to test the cutrrent gcc version and decide
> what can of option can
a project needs to satisfy both gcc 4.1.2 and gcc 4.7.3, but some options
in the latter one(like -Wno-narrowing and Wno-unused-result) cannot be used
in the former one. So I need to test the cutrrent gcc version and decide
what can of option can be assigned to CFLAGS, sth like:
if gcc version == 4