> Could we have an option to turn these warnings off? This will be controlled by a new option in GCC 5.0.
For the details and the answer to your other questions, see https://gcc.gnu.org/wiki/FAQ#constmismatch (If others have comments that are not covered in the FAQ, or believe the answer there could be improved, please update it and provide a link to it.) Thanks, Manuel.