http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894
--- Comment #4 from __vic 2011-07-29 10:17:35 UTC ---
Created attachment 24861
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24861
Preprocessor output
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894
--- Comment #3 from __vic 2011-07-29 10:13:16 UTC ---
> test.cpp:7:84: error: could not convert '{{0, 0}, 0, "", 0}' from
> '' to 'pthread_cond_t'
>
Initializer is:
{{0, 0}, 0, "", 0}
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894
--- Comment #1 from __vic 2011-07-29 06:28:47 UTC ---
class mutex
{
::pthread_mutex_t mtx;
public:
constexpr mutex() : mtx(PTHREAD_MUTEX_INITIALIZER) {}
};
Compiles fine... What is the difference?