summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-03-11 12:30:36 +0800
committerChristoph Reiter <reiter.christoph@gmail.com>2019-05-03 20:34:34 +0000
commitd52338f0a6203532fadb955ab25cd3d28aebac1b (patch)
tree68c9b7fd350a7cb5d270782d57c4b484b62c25f2
parent4c5d7d610b60fe85174648359e698240a70a1f3c (diff)
downloadgobject-introspection-d52338f0a6203532fadb955ab25cd3d28aebac1b.tar.gz
MSVC.README.rst: Update VS 2008/x64 build notes
It appears that tests/repository/gitypelibtest.c needs to be added to the list of files that we must change the optimization flag from /O2 to /O1 in order that the Visual Studio 2008 x64 compiler does not hang, due to compiler optimization issues.
-rw-r--r--MSVC.README.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/MSVC.README.rst b/MSVC.README.rst
index 42d3b1da..be1988b6 100644
--- a/MSVC.README.rst
+++ b/MSVC.README.rst
@@ -83,9 +83,10 @@ On x64 builds, building girepository\girepository-1.0-1.dll may hang during comp
If this happens, terminate all 'cl.exe' processes, which will terminate the build process.
Open build.ninja and change the compiler flags by changing /O2 to /O1 for all the sources
that hang during compilation. At this time of writing, girepository\girwriter.c,
-girepository\girparser.c and girepository\girnode.c are affected--this is due to an issue
-in Visual Studio 2008's x64 compiler in regards to optimization. Re-attempt the build, and
-the build should complete normally. This does not affect Win32/x86 builds.
+girepository\girparser.c, girepository\girnode.c and tests\repository\gitypelibtest.c are
+affected--this is due to an issue in Visual Studio 2008's x64 compiler in regards to
+optimization. Re-attempt the build, and the build should complete normally. This does not
+affect Win32/x86 builds.
On all Visual Studio 2008 builds, after successfully completing/installing the build, run
the following so that we ensure the manifests are embedded to the built DLLs and EXEs::