errno as dllexport/dllimport warning in VC++ 6.0

Volz, Bill (WRVO) WRVO@chevron.com
Thu Sep 28 13:08:00 GMT 2000


I using the latest pthreads (9/8) with VC++ 6.0. When I use either the
precompiled dll's or one's I've linked I get a warning as follows:

.\pthreads\pthread.h(936) : warning C4273: '_errno' : inconsistent dll
linkage.  dllexport assumed.

I don't like warnings - they usually imply something bad is going to happen.
What can I do do get rid of this warning (short of a pragma).

Thanks

BTW, Greate work, saved me days in figuring out how to translate pthreads
from unix to windows threads.

William R Volz - Senior Research Geophysicist
Chevron Petroleum Technology
Voice: 281-596-2059   Fax: 281-596-3009




More information about the Pthreads-win32 mailing list