This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41219] libgfortran build warnings
- From: "sezeroz at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2010 17:44:27 -0000
- Subject: [Bug fortran/41219] libgfortran build warnings
- References: <bug-41219-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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