I have a C ++ code base and am porting from Visual Studio to g ++, which I have to install in Visual Studio to reduce build errors in gcc? With g ++, this is achieved using -ansi -pedantic.
I believe you are looking for / Za .
You should probably set the highest warning level / W 4 as well as disable the additional MS / Za language extensions. Also check that you are using the for / Zc loop scope parameter: forScope
- VStudio AND GCC. GCC , VStudio:)
Source: https://habr.com/ru/post/1733431/More articles:Problems calling methods in a COM stream from a WinForms GUI thread? - c #Как включить сеансы SSL для вашего HTTPS-сервиса? - sslURL Rewriting: "index.php? Id = 5" in "home.html" - phpURL rewrite help - url-rewritingSplitting Word documents into smaller ones - c #iPhone Referring to Resources in Separate Directories - iphoneProblem with delegates in C #, forms and multiple solutions - c #How to make a nested class that can access members of the class that created it? - inheritanceHow to create a class that can instantiate another class and access private members of the owner - inheritanceOTP S / KEY One-Time Password - Folded Output MD5 Digest - java-meAll Articles