r/programminghumor • • Oct 31 '26

274 lines, 2 warnings, 0 errors, compiled successfully first try✔️

Post image

Nobody is having a better day than I💪

243 Upvotes

21 comments sorted by

26

u/LopsidedParticular25 Oct 31 '26

Basically what's left is for it to actually do what's supposed to

11

u/NomsaMbeki-8 Oct 31 '26

I’m just gonna enjoy this moment

26

u/kutac56 Oct 31 '26

What 2 warnings

38

u/NomsaMbeki-8 Oct 31 '26

I never read them 😅 ….are we supposed to?

16

u/PenguinMaster975 Oct 31 '26 • Popcorn

that's a future problem! 😀

2

u/NomsaMbeki-8 27d ago

cheers to that! 😂

8

u/NomsaMbeki-8 Oct 31 '26

I mean I know we’re supposed to but it’s probably some variable I made up and never used🤷‍♀️

6

u/Sea_Pomegranate4792 Oct 31 '26

If it's in C then probably "Clang-Tidy scanf" or something.

13

u/ImpulsiveBloop Oct 31 '26

Now add -Werror and check with valgrind.

The day is not done yet.

4

u/Level-Pollution4993 Oct 31 '26

Turns out the warnings were incompatible pointer cast and uninitialised memory read...

3

u/Fringolicious 29d ago

And then you notice something strange about the lamp.

2

u/git_push_origin_prod Oct 31 '26

Co-author: Claude Code

1

u/Usual_Office_1740 Oct 31 '26

In what language?

1

u/Muted_Will_2131 29d ago

Not asm

1

u/ImpulsiveBloop 29d ago

Not which asm, though? 🤔

1

u/xxxbGamer 29d ago

are you from russia? No offence

1

u/iComplainAbtVal 25d ago

“Something’s wrong here and I’m just not seeing it” - me every time

1

u/baconburger2022 25d ago

Ok. Now go and merge it into production and see what breaks.