Commit 6fffb55c by Joseph Myers Committed by Jeff Law

c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for discarding qualifiers…

c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for discarding qualifiers into a plain warning.

        * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
        discarding qualifiers into a plain warning.

From-SVN: r35374
parent c30d43bf
2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
* c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
discarding qualifiers into a plain warning.
2000-07-31 Kazu Hirata <kazu@hxi.com> 2000-07-31 Kazu Hirata <kazu@hxi.com>
* h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
......
...@@ -3765,7 +3765,7 @@ build_c_cast (type, expr) ...@@ -3765,7 +3765,7 @@ build_c_cast (type, expr)
if (warn) if (warn)
/* There are qualifiers present in IN_OTYPE that are not /* There are qualifiers present in IN_OTYPE that are not
present in IN_TYPE. */ present in IN_TYPE. */
pedwarn ("cast discards qualifiers from pointer target type"); warning ("cast discards qualifiers from pointer target type");
} }
/* Warn about possible alignment problems. */ /* Warn about possible alignment problems. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment