Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Compounds in Init lists
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Chris M. Thomasson, post: 3893717"] [...] In addition to James, you cannot legally initialize a `pthread_cond_t' that does not have static storage duration with `PTHREAD_COND_INTIALIZER'. This is not legal: pthread_cond_t cond = PTHREAD_COND_INTIALIZER; This is also not legal: static pthread_cond_t g_cond = PTHREAD_COND_INTIALIZER; pthread_cond_t l_cond = g_cond; [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Compounds in Init lists
Top