Boost logo

Boost :

Subject: [boost] [context] msvc /SAFESEH
From: Jeff Flinn (jeffrey.flinn_at_[hidden])
Date: 2013-10-01 09:58:30

I need to build my application with /SAFESEH which uses boost coroutine
which uses context. I'm getting the following link errors:

1>libboost_context-vc100-mt-gd-1_53.lib(jump_i386_ms_pe_masm.obj) :
error LNK2026: module unsafe for SAFESEH image.
1>libboost_context-vc100-mt-gd-1_53.lib(make_i386_ms_pe_masm.obj) :
error LNK2026: module unsafe for SAFESEH image.

I've built boost static libs with the same MSVC vesion and options (sans
/SAFESEH as it's not a compile/lib option)

Compiler/linker versions:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01
for 80x86
Microsoft (R) Incremental Linker Version 10.00.40219.01

Has anyone run into this and resolved the error? Any insight is appreciated.

Thanks, Jeff

Boost list run by bdawes at, gregod at, cpdaniel at, john at