[Top][All Lists]

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

Re: [patch #8186] ax_pthread adds -pthread when it should not on OSX whe

From: Peter Johansson
Subject: Re: [patch #8186] ax_pthread adds -pthread when it should not on OSX when compiling with clang
Date: Tue, 24 Sep 2013 13:06:23 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

On 09/22/2013 02:36 AM, Daniel Richard G. wrote:
Follow-up Comment #3, patch #8186 (project autoconf-archive):

I haven't worked with Clang yet, but from a bit of searching around, it seems
that -pthread will either cause the compiler to complain harmlessly, or be
recognized as a proper option in newer versions.


I noticed that gnulib adds '-Werror -Wunknown-warning-option' to CFLAGS when Clang is in use, before trying to detect whether an option is OK or not. Perhaps that approach would be useful here too.;a=blob;f=m4/warnings.m4;h=e3d239b64ffbc737d4f6ce993355c477a4884925;hb=HEAD


What's the specific failure mode that the patch intends to avoid? Is it a hard
error? Warning noise? It would be helpful to see some copy-and-pasted messages
from the compiler.


Reply to this item at:


   Message sent via/by Savannah

Peter Johansson

reply via email to

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