On Wed, 25 Nov 2009, Mark Andrews wrote:


Report it using "send-pr".  That way the problem will make its way into the
bug tracking system.

In message <86aayc7z4g....@zhuzha.ua1>, Mikolaj Golub writes:
Hi,

I have problems with compiling our application under 8.0.

It fails due to these definitions in pthread.h that look like a typo or
incorrectly applied patch:

Did someone already reply to this?

I think the problem is in your application.  You cannot
have push and pop at different nesting levels.  The
start brace in the push is ended by the end brace in
pop on purpose.  It is to enforce nesting levels.


    170 #define         pthread_cleanup_push(cleanup_routine, cleanup_arg)
       \
    171                 {
       \
    172                         struct _pthread_cleanup_info __cleanup_info__;
       \
    173                         __pthread_cleanup_push_imp(cleanup_routine, 
clean
up_arg,\
    174                                 &__cleanup_info__);
       \
    175                         {
    176
    177 #define         pthread_cleanup_pop(execute)
       \
    178                         }
       \
    179                         __pthread_cleanup_pop_imp(execute);
       \
    180                 }

--
DE
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to