Boost logo

Boost Users :

From: adhalejr (donnie_at_[hidden])
Date: 2002-07-16 21:54:47


--- In Boost-Users_at_y..., "adhalejr" <donnie_at_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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net