autoconf
[Top][All Lists]
Advanced

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

Re: test if compiler warns


From: Peter Johansson
Subject: Re: test if compiler warns
Date: Sat, 21 Jul 2012 23:05:29 +1000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

Hi again,

I found AC_LANG_WERROR which seems to do what I want.

I also found this discussion on how to revert AC_LANG_WERROR
http://lists.gnu.org/archive/html/autoconf/2007-04/msg00030.html
but guess that discussion died.

Cheers,
Peter

On 7/21/12 7:26 PM, Peter Johansson wrote:
Hi autoconfers,

In one of my projects, we noticed that some versions of g++ does not recognize option '-pthread', but gives a warning

i686-apple-darwin8-g++-4.0.1: unrecognized option '-pthread'

Now I'd like to test this at configure time, so I wonder if there is a good mechanism to test if compiler is complaining to stderr.
Or do I need to write a low-level macro myself for this?

Thank you.

Peter



_______________________________________________
Autoconf mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/autoconf


--
Peter Johansson




reply via email to

[Prev in Thread] Current Thread [Next in Thread]