[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Compiling with VC2012

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 13 Aug 2013 04:57:49 -0700

VS2012 tries to enable table based exception handling, but your zlib
was compiled without the flags to enable that. You can also disable
this mode in the linker/compiler at a very small performance and
security cost.

Vs2008 didn't warn for this as it was very common to fail this test at
the time it was released.

(mobile phone) From: Mario Brandt
Sent: 13/08/2013 12:50
To: Subversion Development
Subject: Compiling with VC2012

I try to compile svn against Apache 2.4.6. That worked with VC2008,
but with VC2012 I get a lot of "zlibstat.lib(inffas32.obj) : error
LNK2026: module unsafe for SAFESEH image" errors.
What is the correct way to get it compiling?

What I did

C:\python27\python gen-make.py --release -t vcproj

Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at
line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"

Open sln with GUI.

Received on 2013-08-13 13:58:42 CEST

This is an archived mail posted to the Subversion Dev mailing list.