Wincompatible-pointer-types.c
290 Bytes
-
re PR c/58286 (Need option to make incompatible pointer type warnings into compiler errors) · d5c3d343
PR c/58286 * doc/invoke.texi: Document -Wincompatible-pointer-types. c-family/ * c.opt (Wincompatible-pointer-types): New option. c/ * c-typeck.c (convert_for_assignment): Pass OPT_Wincompatible_pointer_types instead of 0 to WARN_FOR_ASSIGNMENT. testsuite/ * gcc.dg/Wincompatible-pointer-types.c: New test. From-SVN: r212192
Marek Polacek committed