autoconf
[Top][All Lists]
Advanced

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

Re: test if compiler warns


From: Peter Lee
Subject: Re: test if compiler warns
Date: Sun, 22 Jul 2012 10:20:59 +1000

Peter,
thanks for sharing, any other ideas out there ?
cheers
 On Jul 21, 2012 11:06 PM, "Peter Johansson" <address@hidden> wrote:

> 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<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<https://lists.gnu.org/mailman/listinfo/autoconf>
>>
>
>
> --
> Peter Johansson
>
>
> ______________________________**_________________
> Autoconf mailing list
> address@hidden
> https://lists.gnu.org/mailman/**listinfo/autoconf<https://lists.gnu.org/mailman/listinfo/autoconf>
>


reply via email to

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