Skip to main content
8 events
when toggle format what by license comment
Feb 1, 2021 at 1:55 comment added Ben Voigt Another point: There's not actually any supported way to invoke the Microsoft Visual C++ Compiler (which is both a C and C++ compiler, it would be foolhardy to try to write Visual C Compiler as no such product exists) other than cl.exe. The various first-party and third-party integrated development environments launch cl.exe, directly or indirectly, and parse its output. Project properties in an IDE consist of configuring the cl.exe and link.exe command-line arguments.
Feb 1, 2021 at 1:53 comment added Ben Voigt FYI: "gcc" means "GNU Compiler Collection" which explicitly includes a C++ compiler. It does not mean "the tool launched by a file named gcc"... and even that tool is happy to compile C++ if you pass the appropriate options.
Jan 31, 2021 at 16:56 history edited Peter Cordes CC BY-SA 4.0
added 324 characters in body
Jan 31, 2021 at 4:40 comment added Peter Cordes @StevenPenny: And if you read this answer carefully, it makes a suggestion and requests that people vote on it. Those people would be those who use MSVC more regularly than I do (presumably on Windows). I'm not qualified to decide, but I feel perfectly justified in making suggestions. Maybe you missed the point of meta as a place to up/down vote things according to whether you think it's a good idea or not. I literally can't do anything to the tags in question on my own.
Jan 31, 2021 at 4:38 comment added Peter Cordes @StevenPenny: Being a Windows user is not necessary to understand the concept of a command line tool. Especially not when I already do understand quite a few things about it, and have experience in the other SO tags for the compiler in question. I have used Windows on other people's computers, for whatever that's worth, just not for C/C++ development (except for one job a decade ago where I did use visual studio.) Using it via godbolt.org does even mean knowing some of its command-line options, exactly what this tag is about.
Jan 31, 2021 at 4:25 comment added Peter Cordes @StevenPenny: I phrased it with an "if" for exactly that reason: I don't know who downvoted my answer and don't expect anyone to confirm or deny my guess. Your first comment seemed pretty rude to me, I considered flagging it as "unfriendly". Telling someone they must not know enough to even make a suggestion (without pointing out any specific problem with the suggestion) is also not very constructive.
Jan 31, 2021 at 4:13 comment added Peter Cordes @StevenPenny: So my suggestion is automatically wrong because I know about MSVC primarily via SO questions and Godbolt instead of using it on a desktop? I don't want to claim I'm an expert on it, but my caveats may have made it sound like I know less about it and Windows than I actually do. I've seen (and edited tags on) boatloads of questions about it, and have gold badges in [c], [c++], [assembly], [x86], and [x86-64]. If you used your comment as reasoning for a downvote regardless of the actual merit of the suggestion, that's just being a jerk for no reason and/or missing the point.
Jan 31, 2021 at 3:55 history answered Peter Cordes CC BY-SA 4.0