add options -Wwrite-strings for gcc to prevent errors with immutable strings.