
--- In Boost-Users@y..., "adhalejr" <donnie@h...> wrote:
I'm trying to compile the thread library using the Borland command line tools, version 5.5.1, and the STLPort version of STL, version 4.5.3. When the source files #include Borland's <process.h> file, the following errors occur:
Error E2337 c:\borland\bcc55\include\process.h 74: Only one of a set of overloaded functions can be "C" Error E2337 c:\borland\bcc55\include\process.h 87: Only one of a set of overloaded functions can be "C" Error E2337 c:\borland\bcc55\include\process.h 99: Only one of a set of overloaded functions can be "C" Error E2337 c:\borland\bcc55\include\process.h 180: Only one of a set of overloaded functions can be "C" Error E2337 c:\borland\bcc55\include\process.h 191: Only one of a set of overloaded functions can be "C" Error E2337 c:\borland\bcc55\include\process.h 192: Only one of a set of overloaded functions can be "C" Error E2337 c:\borland\bcc55\include\process.h 201: Only one of a set of overloaded functions can be "C" Error E2337 c:\borland\bcc55\include\process.h 218: Only one of a set of overloaded functions can be "C"
A number of the functions prototyped in there, though not all of them, are making the compiler choke.
FWIW, the build did work if I just used the stock Borland STL.
I've been able to narrow things down some. If I just have these two lines: #include <stdlib.h> #include <process.h> I am able to repro the error w/ a simple bcc32 command line compile. That's w/ stlport in the include path. If I remove it, the errors go away. If there are any stlport experts, I'm curious as to how to correctly resolve this. I'm going to post a message on that forum. Thanks, Donnie