Howto trans the code from the mingw to vs compiler
-
wrote on 18 Sept 2022, 02:55 last edited by
#if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif
Now i want to transform the code of the mingw into the vs style.Someone said that need to add the code upside.Its a lot of works that added the code into every file.So is there a simple way to add the code?Anything like using the macro code or adding the varieties of the compiler process?
-
@nicker-player said in Howto trans the code from the mingw to vs compiler:
#pragma execution_character_set("utf-8")
Hi
https://learn.microsoft.com/en-us/cpp/preprocessor/execution-character-set?view=msvc-170says
"This compiler directive is obsolete in Visual Studio 2015 Update 2 and later versions."What happens if it's not included?
Also do you use such old Vs version ?
1/2