|
Boost : |
Subject: Re: [boost] [context] msvc /SAFESEH
From: Jeff Flinn (jeffrey.flinn_at_[hidden])
Date: 2013-10-01 15:10:11
On 10/1/2013 1:47 PM, Oliver Kowalke wrote:
> 2013/10/1 Jeff Flinn <jeffrey.flinn_at_[hidden]>
>
>> And get the same link errors:
>>
>
> hmm - then it needs some modifications in the assembler files I fear that
> the MSDN does not well document it.
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
It's appearing that
actions masm
{
ml /safeseh /c /Fo"$(<)" "$(>)"
}
is being ignored in \boost_1_53_0\libs\context\build\Jamfile.v2.
I added:
MyHandler proc
.safeseh MyHandler
MyHandler endp
to make_i386_ms_pe_masm.asm resulting in the following error:
msvc.compile.asm
bin.v2\libs\context\build\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\asm\make_i386_ms_pe_masm.obj
Assembling: libs\context\src\asm\make_i386_ms_pe_masm.asm
libs\context\src\asm\make_i386_ms_pe_masm.asm(50) : warning
A4024:directive ignored without /safeseh switch
msvc.compile.asm
bin.v2\libs\context\build\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\asm\jump_i386_ms_pe_masm.obj
But running
ml /safeseh /c make_i386_ms_pe_masm.asm
in ...\boost_1_53_0\libs\context\src\asm
succeeds.
Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk