Skip to content

Commit 7cce5b7

Browse files
committed
Wasn't compiling with newer Windows cl version anymore
1 parent 543fc40 commit 7cce5b7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Makefiles/Makefile_Visual

+6-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# matters are CC_BOOST_INCL and CC_BOOST_LINK.
1818
# On my systems (there are two), they are here:
1919

20-
BOOST32_PATH1 = \Users\heins\Libraries\Boost\boost_1_66_0_x32_new
20+
BOOST32_PATH1 = \User\sheins\boost_1_66_0_x32_new
2121
BOOST32_LIB1 = $(BOOST32_PATH1)\lib32-msvc-14.1
2222

2323
BOOST32_PATH2 = \Users\s.hein\Documents\Programs\boost_1_66_0_x32_14_1
@@ -42,8 +42,8 @@ THR_TBB = /DDDS_THREADS_TBB
4242
THR_STLIMPL = /DDDS_THREADS_STLIMPL
4343
THR_PPLIMPL = /DDDS_THREADS_PPLIMPL
4444

45-
THREADING = $(THR_BOOST) $(THR_OPENMP) $(THR_WINAPI) \
46-
$(THR_STL) $(THR_STLIMPL) $(THR_PPLIMPL)
45+
THREADING = $(THR_OPENMP) $(THR_WINAPI) \
46+
$(THR_STL) $(THR_STLIMPL)
4747

4848
# If you need to add something for a threading system, this is
4949
# the place.
@@ -95,15 +95,16 @@ WARN_FLAGS = \
9595
/wd4996 \
9696
/wd5026 \
9797
/wd5027 \
98+
/wd5045 \
9899
/WX
99100

100101
# If you don't have /std:c++17, you won't get THR_STLIMPL.
101102

102-
COMPILE_FLAGS = /O2 /Oi /Ot /Oy /Ox /GL /EHs /std:c++17 \
103+
COMPILE_FLAGS = /O2 /Oi /Ot /Oy /Ox /GL /EHs /std:c++17 /Qspectre \
103104
$(WARN_FLAGS) \
104105
$(DDS_BEHAVIOR) $(THREAD_COMPILE) $(THREADING)
105106

106-
LINK_FLAGS1 = /O2 /Oi /Ot /Oy /GL /EHs $(WARN_FLAGS)
107+
LINK_FLAGS1 = /O2 /Oi /Ot /Oy /GL /EHs /Qspectre $(WARN_FLAGS)
107108
LINK_FLAGS2 = $(THREAD_LINK)
108109

109110
DLLBASE = dds

0 commit comments

Comments
 (0)