Opened 12 years ago

Closed 12 years ago

#4210 closed Bugs (fixed)

Changes in boost::exception - 1.43 causing exception to be thrown before main

Reported by: robertyull@… Owned by: Emil Dotchevski
Milestone: Boost 1.43.0 Component: exception
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

Submitting per Emil Dotchevski's suggestion based on a discusion on boost-users.

Changes to boost::exception in 1.43 can cause an exception to be thrown during static initialization (before main() is called). I've attached code that will produce the behavior. The exception is caught, but causes Microsoft Visual Studio to halt if "break when std::exception is thrown" is enabled in the debugger.

Attachments (1)

BoostTest.zip (642 bytes ) - added by robertyull@… 12 years ago.
source to produce the issue

Download all attachments as: .zip

Change History (3)

by robertyull@…, 12 years ago

Attachment: BoostTest.zip added

source to produce the issue

comment:1 by Steven Watanabe, 12 years ago

Component: Noneexception
Owner: set to Emil Dotchevski

comment:2 by Emil Dotchevski, 12 years ago

Resolution: fixed
Status: newclosed

See trunk revision 61938.

Note: See TracTickets for help on using tickets.