Ancestors

Written by Karl Statz on 2024-11-09 at 00:09

MSVC and clang/gcc having different opinions on warnings is not as fun as i remember

=> More informations about this toot | More toots from kstatz12@discuss.systems

Toot

Written by lambdageek on 2024-11-09 at 02:23

@kstatz12 it was never fun...

It was never anything good like "hey we found this actually undefined behavior for you"

It was always like "ah but on our platform char is {un}signed so here's two thousand places where you are missing a cast"

=> More informations about this toot | More toots from lambdageek@mastodon.social

Descendants

Written by lambdageek on 2024-11-09 at 02:24

@kstatz12 my biggest productivity boost in modern C is fucking int8_t and uint8_t

=> More informations about this toot | More toots from lambdageek@mastodon.social

Written by Karl Statz on 2024-11-09 at 02:46

@lambdageek "oh, you have a variable called x as a private field and as a throwaway variable name in a function? That's shadowing nerd" - MSVC, probably

=> More informations about this toot | More toots from kstatz12@discuss.systems

Written by mcc on 2024-11-09 at 03:12

@kstatz12 @lambdageek ok but this exact problem once caused a heap corruption bug for me that wasted two days debugging so maybe I kinda wish GCC made that a warning

=> More informations about this toot | More toots from mcc@mastodon.social

Written by Karl Statz on 2024-11-09 at 04:14

@mcc @lambdageek coming from a java background I'm a follower of the one true this->x;

=> More informations about this toot | More toots from kstatz12@discuss.systems

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113450615289380714
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
291.349311 milliseconds
Gemini-to-HTML Time
0.984338 milliseconds

This content has been proxied by September (ba2dc).