> Wouldn't it be nice to use -Wunterminated-strings and let the
> compiler yell at me if I write a string literal [that's too long]?

A good idea. Assuming you use gcc, please propose it at
https://gcc.gnu.org/bugzilla.

Apropos of help from the compiler, I normally run gcc via this script
and stamp out all warnings.
        #!/bin/bash
        exec /bin/gcc -Wall -Wpedantic -Wextra "$@"

Doug

Reply via email to