MAIN FEEDS
REDDIT FEEDS
r/ProgrammerHumor • u/Content_Contract_375 • 18h ago
11 comments sorted by
36
> 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"
13 u/gooseears 14h ago Let me just comment that warning out. Should be fine now. 3 u/Some_Useless_Person 5h ago Wait what? How do you comment a warning? 3 u/5up3rj 3h ago The IDE settings are a pathway to many abilities 2 u/metaglot 4h ago Yeah. Warnings are errors waiting to happen at runtime.
13
Let me just comment that warning out. Should be fine now.
3 u/Some_Useless_Person 5h ago Wait what? How do you comment a warning? 3 u/5up3rj 3h ago The IDE settings are a pathway to many abilities
3
Wait what? How do you comment a warning?
3 u/5up3rj 3h ago The IDE settings are a pathway to many abilities
The IDE settings are a pathway to many abilities
2
Yeah. Warnings are errors waiting to happen at runtime.
8
My favorite part is how our code we maintain has no warnings, but the framework we are required by our contract to use has over 23000.
tech debt master class
Almost every C project ever
Hey guys try to build the AOSP. It has over several million warnings. I think they can be safely ignored
Warnings are like speed limits, just ignore them.
1
Multiply by 10 for FPGA compilers
36
u/JackNotOLantern 15h 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"
8
u/RandomStranger456123 6h ago
My favorite part is how our code we maintain has no warnings, but the framework we are required by our contract to use has over 23000.
2
u/menducoide 5h ago
tech debt master class
2
u/Some_Useless_Person 5h ago
Almost every C project ever
2
u/Johanno1 5h ago
Hey guys try to build the AOSP. It has over several million warnings. I think they can be safely ignored
2
u/emetcalf 4h ago
Warnings are like speed limits, just ignore them.
1
u/F_P_G_A 58m ago
Multiply by 10 for FPGA compilers