Dani (:cxx: modules addict) · @DanielaKEngert
318 followers · 1023 posts · Server hachyderm.io

@PeterSommerlad It does.

In this particular case, MSVC rejects one version of invalid code and incorrectly accepts the other. And I even totally understand why: the Modules TS had a different grammar.

Both Clang and gcc are even worse: they accept *both* ill-formed variants. And they don't have the "legacy" excuse.

#clang #gcc #msvc

Last updated 1 year ago

Rémi Verschelde · @akien
5118 followers · 2476 posts · Server mastodon.gamedev.place

This week I've done some work on , which I use very rarely.

Got frustrated with the Windows dev experience for a number of good (and bad) reasons, but I channeled this frustration into solving some outstanding pain points for compiling Godot with .

A short 🧵

#godotengine #windows #msvc

Last updated 1 year ago

Sean Murthy · @smurthys
188 followers · 2166 posts · Server hachyderm.io

What's the MSVC equivalent of GCC's `-fsyntax-only` flag?

I like to run MSVC on C++ code and have it check syntax and produce diagnostics but nothing else: no object or executable output.

gcc.gnu.org/onlinedocs/gcc/War

EDIT: Answered 👇

#cpp #cplusplus #msvc #visualstudio

Last updated 1 year ago

Silas · @silas
12 followers · 25 posts · Server bolha.us

#c #gcc #clang #msvc

Last updated 1 year ago

Matt Gumbley · @M0CUV
183 followers · 301 posts · Server mastodon.radio

I’m going to have to read up on linking an built library against rust. The MS linker craps out as it sees > 64K symbols; the rust linker can’t match the library function names against mangled ones. Will look into alternative ways to build portaudio tomorrow.

#msvc

Last updated 1 year ago

JVApen · @JVApen
24 followers · 105 posts · Server mastodon-belgium.be

Just found out that does not follow Annex B of C++ standard and gives error C2026 at a quarter of the size for long strings.
*It actually does follow it, as compilers are not bound to it, though still I'm disappointed.

#msvc

Last updated 1 year ago

GateLinker · @gatelinker
1 followers · 15 posts · Server fosstodon.org

Since I have my 2005 image ready, I can compare binary output sizes between older and newer compilers for .

It looks like that executable sizes are increasing by ~10% on newer MS compilers, maybe due to security stuff.

Comparing v5 and v11 on , I see decreasing sizes by ~10%. I guess that's related to link-time-optimization which is not enabled on older compilers.

So in the flow of time:
Windows gets bigger,
Linux gets better,
... and I get older. 😄

#msvc #docker #windows #gcc #linux #lto

Last updated 2 years ago

Gleb Dolgich · @glebd
171 followers · 44 posts · Server mastodon.social

looks very cool for build profiling, but I’m not having much luck with it on a locked-down work PC. Can’t even start a session. Paging @TartanLlama

#vcperf #msvc

Last updated 2 years ago

GateLinker · @gatelinker
1 followers · 8 posts · Server fosstodon.org

With the latest greatest dev-build of , we already have ARM-64 integrated, which is planned to be released with CMake 3.26 in Feb 2023.

Now I can use the "ASM_MARMASM" language in CMakeLists.txt to enable native assembler support in Visual Studio 2022 projects.
cmake.org/cmake/help/git-stage

I was waiting for that feature since last summer, now I can test it on the Dot 1 Mini PC
apcsilmic.com/

#cmake #msvc #assembler #arm64 #apcsilmic

Last updated 2 years ago

lxsameer · @lxsameer
120 followers · 932 posts · Server social.lxsameer.com

is ridiculous. Why on earth do you need a "development shell" on to access the compiler. So weird.

#windows #msvc

Last updated 2 years ago

hal · @sequundi
83 followers · 2277 posts · Server social.tchncs.de

im erscheint mir nach ersten Tests deutlich flüssiger als im eigenen . Die Umstellung von zu war auch kein Hexenwerk… Vielleicht sollte man doch mal an der Performance-Schraube drehen beim eigenen Creator, wenn ihn sogar das fremde VS, wahrlich auch kein Performancemonster, outperformt?

#msvc #mingw #qtcreator #visualstudio #qt

Last updated 2 years ago

erAck · @erAck
218 followers · 5335 posts · Server social.tchncs.de