autoconf
[Top][All Lists]
Advanced

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

test if compiler warns


From: Peter Johansson
Subject: test if compiler warns
Date: Sat, 21 Jul 2012 19:26:54 +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 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





reply via email to

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