MSVC 2022

Started by jbk, August 01, 2023, 07:27:12 AM

Previous topic - Next topic

MrBcx

I've been a fan of the Exclusion list for years.

I have dozens of folders and entire backup drives in my list. 

About the only areas that MS Defender has access to on my system are the core Windows OS folders.

I'm very careful about sites that I visit, links that I click, and software that I download. 

My computers behave very well and I very seldom have to waste my time chasing down false positives.




bprlhe

Quote from: jbk on August 01, 2023, 07:27:12 AM
after ditching MSVC from my PC because it was generating code that Windows defender identified as Trojan

This is Windows Defender's fault. Why didn't you simply add your working directory to the whitelist?

https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26#ID0EBF=Windows_10

Your code has unexpected behaviors that resemble malware. Please test if a simple Hello World program in C++ triggers Windows Defender or not. If it doesn't, this is simply a false positive and MSVC has nothing to do with it.

jbk

after ditching MSVC from my PC because it was generating code that Windows defender identified as Trojan I went ahead and installed in a Win 11 VM and I must say that it has amazing code analysis, it found many of my coding errors giving appropriate  warnings
I learned to take almost every warning seriously  ;D