This is the mail archive of the
mailing list for the pthreas-win32 project.
errno as dllexport/dllimport warning in VC++ 6.0
- To: "'pthreads-win32 at sourceware dot cygnus dot com'"<pthreads-win32 at sourceware dot cygnus dot com>
- Subject: errno as dllexport/dllimport warning in VC++ 6.0
- From: "Volz, Bill (WRVO)" <WRVO at chevron dot com>
- Date: Thu, 28 Sep 2000 12:53:28 -0700
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).
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