This is the mail archive of the pthreads-win32@sourceware.cygnus.com mailing list for the pthreads-win32 project. See the pthreads-win32 home page for more information.


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

newcomer has a question


Hi All,
Just tried my 1st Visual C++ compile of a simple pthreads program, which
only does a pthread_create, just to see if I've got everything set up
correctly.  I am getting the following error (and many like it) in winnt.h
(which I didn't include myself).  My only includes are: pthread.h,
LEDA/string.h, iostream.h and iomanip.h.

Am I doing something wrong?

d:\DevStudio\VC\INCLUDE\winnt.h(199) : error C2467: illegal declaration of
anonymous 'struct'

PS. The LEDA include is the "Library of Efficient Data-structures and
Algorithms" from the Max Planck Institute.

regards,
D.J. Foreman
website: http://watson2.cs.binghamton.edu/~foreman