On linux I have used these flags to compile with gcc
CFLAGS=-Wall -pedantic -g -Wextra -pthread
What are my options in VS to enable similar flags? Extra warnings, etc.
You can use /Yd
for enabling the placement of complete debugging information in all object files and /Wall
for enabling all warnings, including warnings that are disabled by default.
More options here: https://msdn.microsoft.com/en-us/library/19z1t1wy.aspx
How to set them in case you don't know: https://msdn.microsoft.com/en-us/library/c553zwz0%28v=vs.90%29.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With