Re: [boost] Re: Win32 Metrowerks problems [was Re: [test] revision two]

2003-02-16 Thread Beman Dawes
At 09:38 AM 2/15/2003, Beman Dawes wrote:

>In the meantime, I'm working around the problem on my local machine by
>inactivating the crtdbg stuff for Metrowerks.
>
>I've also posted a message on the Metrowerks Win32 newsgroup (see below).

OK, I've had a response from Metrowerks:

>The crtdbg.h header isn't a standard part of the Metrowerks runtime
>library or MSL.  It is included in the Win32-x86 Suppor Folder as part
>of the "VCPP Headers" folder, but these are really just headers from
>VC++ that are included because some builds need them.
>
>However, while the header is there, CW's library doesn't actually
>implement the debugging mechanism that this header describes.  This is
>why you're link does not work -- the code just isn't there.

So Gennadiy's "temporary" fix is really the permanent fix.

--Beman


___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



Re: [boost] Re: Win32 Metrowerks problems [was Re: [test] revision two]

2003-02-15 Thread Beman Dawes
At 09:18 PM 2/13/2003, Gennadiy Rozental wrote:

>> No, it is some sort of configuration problem.
>
>Look on "metrowerks linking errors" thread. It about the same issue with
>different undefined symbol

I have a vague memory of that, but can't find the thread. Can you be more 
specific?

In the meantime, I'm working around the problem on my local machine by 
inactivating the crtdbg stuff for Metrowerks.

I've also posted a message on the Metrowerks Win32 newsgroup (see below).

--Beman

The Boost Test library recently added an additional use of the CRT debug 
facilities (crtdbg.h). Using the command line tools, this resulted in a 
linker error:

 ### mwld Linker Error: # Undefined symbol: '__declspec(dllimport) 
__CrtSetReportHook (__imp___CrtSetReportHook)' # referenced from 'int 
boost::execution_monitor::execute(bool, int) 
(?execute@execution_monitor@boost@@QAEH_NH@Z)' in execution_monitor.cpp:192

The linker environment variables look like this:

MWWinx86Libraries=+C:\Program Files\Metrowerks\CodeWarrior\MSL;+C:\Program 
Files\Metrowerks\CodeWarrior\Win32-x86 Support; 
MWWinx86LibraryFiles=MSL_C_x86.lib;MSL_Extras_x86.lib;MSL_Runtime_x86.lib;MSL_C++_x86.lib;gdi32.lib;user32.lib;kernel32.lib;

What needs to be changed to resolve this error? Is there a way to prevent 
errors like this in the future? This is the second or third time use of 
names from a Metrowerks supplied header has caused linker errors. The same 
code worked without manual intervention on the Borland, Microsoft, and 
Intel compilers. Although in many ways the Metrowerks compiler is superior, 
the Metrowerks linker seems to be behind the other vendors in this respect.

TIA,

--Beman 


___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


[boost] Re: Win32 Metrowerks problems [was Re: [test] revision two]

2003-02-13 Thread Gennadiy Rozental
> No, it is some sort of configuration problem.

Look on "metrowerks linking errors" thread. It about the same issue with
different undefined symbol

There was also compilation error with metrowerks. I fixed it couple hours
ago. Unfortunately I do not have direct access to this compiler so
metrowerks specific errors sometime may creep in waiting for regression test
results (I hope to resolve this soon).

Gennadiy.




___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost