[Bug fortran/41219] libgfortran build warnings
sezeroz at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 7 17:44:00 GMT 2010
------- Comment #25 from sezeroz at gmail dot com 2010-05-07 17:44 -------
(In reply to comment #23)
> My build log seems to be clean (i686-pc-linux-gnu).
> Is this PR still needed?
>
The commit from comment #14 (as inlined in comment #9) introduces a new warning
of "passing argument 2 of 'write_default_char4' discards qualifiers from
pointer target type", because write_default_char4() accepts a gfc_char4_t* but
we are sending it a const gfc_char4_t*. Easiest solution would be constifying
the second arg of write_default_char4(), as well as that of write_utf8_char4()
for that matter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41219
More information about the Gcc-bugs
mailing list