r/programminghumor • • 25d ago

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 25d ago

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

11

u/NomsaMbeki-8 25d ago

I’m just gonna enjoy this moment

26

u/kutac56 25d ago

What 2 warnings

38

u/NomsaMbeki-8 25d ago

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

16

u/PenguinMaster975 25d ago • Popcorn

that's a future problem! 😀

2

u/NomsaMbeki-8 22d ago

cheers to that! 😂

8

u/NomsaMbeki-8 25d 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 25d ago

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

13

u/ImpulsiveBloop 25d ago

Now add -Werror and check with valgrind.

The day is not done yet.

4

u/Level-Pollution4993 25d ago

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

3

u/Fringolicious 24d ago

And then you notice something strange about the lamp.

2

u/git_push_origin_prod 25d ago

Co-author: Claude Code

1

u/Usual_Office_1740 25d ago

In what language?

1

u/Muted_Will_2131 25d ago

Not asm

1

u/ImpulsiveBloop 24d ago

Not which asm, though? 🤔

1

u/xxxbGamer 24d ago

are you from russia? No offence

1

u/iComplainAbtVal 21d ago

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

1

u/baconburger2022 20d ago

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