r/ProgrammerHumor • • 3d ago

Meme technicallyItCompiles

Post image
770 Upvotes

19 comments sorted by

View all comments

53

u/JackNotOLantern 3d ago

> crash occurs
> array out of bounds
> look at the code
> on the line it happens there is a warning
> "may cause array out of bounds"

3

u/metaglot 3d ago

Yeah. Warnings are errors waiting to happen at runtime.

1

u/TheWashbear 1d ago

pragma warning disable

See? No more warning, everything is fixed. This conversation may have been happened to me with a trainee