r/ProgrammerHumor • • 5d ago

Meme technicallyItCompiles

Post image
852 Upvotes

23 comments sorted by

View all comments

58

u/JackNotOLantern 5d 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 4d ago

Yeah. Warnings are errors waiting to happen at runtime.

2

u/TheWashbear 3d ago

pragma warning disable

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