When using strict compiling flags, (-Wempty-body that is) the use of pthread_cleanup_pop generates warnings like: mcms/mcms-if-file.c:534: error: suggest braces around empty body in 'do' statement [-Wempty-body] This is because of the use of `do; while(0)`. Please use `(void)0;` or `do { } while(0)` instead which won't trigger the same warning and still allow to place a label before pthread_cleanup_pop which is what the `do; while(0)` tries to achieve.
Okay, this is actually fixed in the cvs commit a3e5efd845589c11f93935c0a0b13262b1e912b3