[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: Daniel Richard G.
Subject: Re: [patch #8186] ax_pthread adds -pthread when it should not on OSX when compiling with clang
Date: Wed, 25 Sep 2013 16:31:14 -0400

On Wed, 2013 Sep 25 18:21+1000, Peter Johansson wrote:
> Sorry if I was too brief. My thought was that perhaps it'd be better
> to have feature test, i.e., actually test if the compiler runs with
> '-pthread', and then the mentioned option would be useful on Clang.

The problem appears to be that Clang blithely accepts options it doesn't
recognize, printing a warning at most. Without some additional flag to
disable this behavior, there's no good way to implement a feature test.


Daniel Richard G. || address@hidden
My ASCII-art .sig got a bad case of Times New Roman.

reply via email to

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