On 24/08/15 13:26, Joerg Sonnenberger wrote:
On Mon, Aug 24, 2015 at 12:45:15PM +0000, Antti Kantee wrote:
I started work on this again by doing a web search for the error, and found
this:
http://bugs.musicpd.org/view.php?id=4110
There you argue that using constexpr for PTHREAD_MUTEX_INITIALIZER is
broken. So if we assume that you are correct, shouldn't we remove the
"constexpr"s from libc++/dist/libcxx/include/__mutex_base?
Except that the standard requires it.
So are you now saying that that what you said in the above URL is wrong
and that the NetBSD headers are broken? Let me quote the relevant part
of what you said:
"Nothing in ISO C11, ISO C++11 or POSIX requires
PTHREAD_MUTEX_INITIALIZER to qualify for constexpr."
But now you are saying that "the standard" does require
PTHREAD_MUTEX_INITIALIZER to qualify for constexpr.
Feel free to reply in a fashion where you actually explain your stance
instead of just dropping some facts. Otherwise I'll have to guess what
you mean, and that prevents me from fixing things the right way.