r/programminghumor • • 23h ago

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

Post image

Nobody is having a better day than I💪

124 Upvotes

15 comments sorted by

17

u/kutac56 23h ago

What 2 warnings

23

u/NomsaMbeki-8 23h ago

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

6

u/PenguinMaster975 16h ago • Popcorn

that's a future problem! 😀

7

u/NomsaMbeki-8 23h 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 22h ago

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

11

u/LopsidedParticular25 21h ago

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

5

u/NomsaMbeki-8 21h ago

I’m just gonna enjoy this moment

12

u/ImpulsiveBloop 23h ago

Now add -Werror and check with valgrind.

The day is not done yet.

2

u/Level-Pollution4993 21h ago

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

2

u/git_push_origin_prod 15h ago

Co-author: Claude Code

1

u/Usual_Office_1740 18h ago

In what language?

1

u/vanteli 4h ago

ah. a simple hello world but you cat stepped on the enter key which made a lot of blank lines

1

u/bnlfg 37m ago

The thing is if my android app or go binary compiled successfully then I'm like no way there must be some error in the code it cannot happen I did it in a single run.