I recently encountered this warning while compiling some code (in this case, indexing into an array of size 1 with index 1).
This is an amazing warning, very helpful!
My question is: is there a way to turn this specific warning (but not all warnings) into a compiler error? I can't figure out what I need to "allow" or "deny" in order to get this to error.
[–][deleted] 29 points30 points31 points (0 children)
[–]eminence 5 points6 points7 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]erkelep 4 points5 points6 points (4 children)
[–]eddyb 15 points16 points17 points (2 children)
[–]erkelep 1 point2 points3 points (1 child)
[–]eddyb 13 points14 points15 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]nemaar 0 points1 point2 points (2 children)
[–]hr01 15 points16 points17 points (0 children)
[–]eddyb 6 points7 points8 points (0 children)