diff makefile.vc @ 2963:531d36ebf37a

C++: Step 5 of the std::string transition. Hopefully the last step. Move to using std::string and std::vector for almost everything we can. Only the the file read buffer is still using C style basic character buffers. Undecided if I want to move that to std::string so considering it done for now. Add /EHsc to the compiler options for Visual C to use std::vector::push_back.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 25 Feb 2023 22:24:18 +0000
parents 217ebbee034f
children
line wrap: on
line diff
--- a/makefile.vc	Sat Feb 25 04:25:21 2023 +0000
+++ b/makefile.vc	Sat Feb 25 22:24:18 2023 +0000
@@ -216,7 +216,7 @@
 	-erase dwtest.exe.manifest
 
 dwtestoo.obj: $(SRCDIR)\dwtestoo.cpp $(SRCDIR)\dw.h  $(SRCDIR)\dw.hpp
-	$(CC) $(CFLAGS) /Zc:__cplusplus $(CFLAGS_DEBUG) $(SRCDIR)\dwtestoo.cpp
+	$(CC) $(CFLAGS) /Zc:__cplusplus /EHsc $(CFLAGS_DEBUG) $(SRCDIR)\dwtestoo.cpp
 
 dwtestoo: dwtestoo.exe