This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pthread.h macro bug


On Aug 27 02:30, Patrick Graebel wrote:
> Hi!
> 
> The macros for pthread_cleanup_push/pop are corrupt, so that g++ 
> (version 3.3.3) fails on '}'. Also there seems to be a space too much 
> between macro name and macro opening bracket.

$ cat > pt.cc <<EOF
#include <pthread.h>

void
hdl (void *arg)
{
}

int
main()
{
  pthread_cleanup_push (hdl, 0);
  pthread_cleanup_pop (0);
  return 0;
}
EOF
$ g++ -v
[...]
gcc version 3.3.3 (cygwin special)
$ g++ -c pt.cc
$


What's the problem?  http://cygwin.com/problems.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]