Boost logo

Boost :

Subject: Re: [boost] [Log] Problem with Release mode build
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-08-30 11:06:04


On 27.08.2010 10:30, Sivaram Kannan wrote:
> Single stepping I found the following line from the global macro
>
> sources::wseverity_logger_mt<> lg;<===================
>
> is not creating the lg object at all. What is the problem in the
> release mode?? As a summary of the problem,
>
> * An exe build in debug/release mode is working properly.
> * This application is a dll.
> * The same dll is working properly in debug mode.

Sorry for the late response. Do I get it right that you built Boost.Log
as dll?

If so, please elaborate what you mean by "not creating the lg object at
all". Does execution reach this line? If not, then what happens before
it? I bet it is somehow related to the Log_Init function you call before it.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk