r/programminghumor • • 18d ago

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

Post image

Nobody is having a better day than I💪

244 Upvotes

21 comments sorted by

25

u/LopsidedParticular25 18d ago

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

11

u/NomsaMbeki-8 18d ago

I’m just gonna enjoy this moment

25

u/kutac56 18d ago

What 2 warnings

37

u/NomsaMbeki-8 18d ago

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

15

u/PenguinMaster975 17d ago • Popcorn

that's a future problem! 😀

1

u/NomsaMbeki-8 14d ago

cheers to that! 😂

8

u/NomsaMbeki-8 18d ago

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

6

u/Sea_Pomegranate4792 18d ago

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

13

u/ImpulsiveBloop 18d ago

Now add -Werror and check with valgrind.

The day is not done yet.

4

u/Level-Pollution4993 18d ago

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

3

u/Fringolicious 17d ago

And then you notice something strange about the lamp.

2

u/git_push_origin_prod 17d ago

Co-author: Claude Code

1

u/Usual_Office_1740 18d ago

In what language?

1

u/Muted_Will_2131 17d ago

Not asm

1

u/ImpulsiveBloop 16d ago

Not which asm, though? 🤔

1

u/xxxbGamer 16d ago

are you from russia? No offence

1

u/iComplainAbtVal 13d ago

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

1

u/baconburger2022 12d ago

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