test if compiler warns

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

 



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
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux