FreeBSD Bugzilla – Attachment 134519 Details for
Bug 179204
[patch] lang/gcc4[6789]: -Wcast-qual reports incorrect message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.13 KB, created by
pluknet
on 2013-06-02 16:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
pluknet
Created:
2013-06-02 16:30:00 UTC
Size:
3.13 KB
patch
obsolete
>Index: lang/gcc46/files/patch-c-typeck.c >=================================================================== >--- lang/gcc46/files/patch-c-typeck.c (revision 0) >+++ lang/gcc46/files/patch-c-typeck.c (working copy) >@@ -0,0 +1,17 @@ >+Manuel López-Ibáñez 2012-11-18 21:15:09 UTC >+ >+ PR c/55383 >+ * c/c-typeck.c: Use %qv for non-function types >+ >+--- gcc/c-typeck.c~ 2012-09-15 04:29:28.000000000 +0400 >++++ gcc/c-typeck.c 2013-06-02 13:57:25.000000000 +0400 >+@@ -4456,7 +4456,7 @@ >+ /* There are qualifiers present in IN_OTYPE that are not present >+ in IN_TYPE. */ >+ warning_at (loc, OPT_Wcast_qual, >+- "cast discards %q#v qualifier from pointer target type", >++ "cast discards %qv qualifier from pointer target type", >+ discarded); >+ >+ if (added || discarded) >+ >Index: lang/gcc47/files/patch-c-typeck.c >=================================================================== >--- lang/gcc47/files/patch-c-typeck.c (revision 0) >+++ lang/gcc47/files/patch-c-typeck.c (working copy) >@@ -0,0 +1,17 @@ >+Manuel López-Ibáñez 2012-11-18 21:15:09 UTC >+ >+ PR c/55383 >+ * c/c-typeck.c: Use %qv for non-function types >+ >+--- gcc/c-typeck.c~ 2012-09-15 04:29:28.000000000 +0400 >++++ gcc/c-typeck.c 2013-06-02 13:57:25.000000000 +0400 >+@@ -4456,7 +4456,7 @@ >+ /* There are qualifiers present in IN_OTYPE that are not present >+ in IN_TYPE. */ >+ warning_at (loc, OPT_Wcast_qual, >+- "cast discards %q#v qualifier from pointer target type", >++ "cast discards %qv qualifier from pointer target type", >+ discarded); >+ >+ if (added || discarded) >+ >Index: lang/gcc48/files/patch-c-typeck.c >=================================================================== >--- lang/gcc48/files/patch-c-typeck.c (revision 0) >+++ lang/gcc48/files/patch-c-typeck.c (working copy) >@@ -0,0 +1,17 @@ >+Manuel López-Ibáñez 2012-11-18 21:15:09 UTC >+ >+ PR c/55383 >+ * c/c-typeck.c: Use %qv for non-function types >+ >+--- gcc/c/c-typeck.c~ 2012-09-15 04:29:28.000000000 +0400 >++++ gcc/c/c-typeck.c 2013-06-02 13:57:25.000000000 +0400 >+@@ -4456,7 +4456,7 @@ >+ /* There are qualifiers present in IN_OTYPE that are not present >+ in IN_TYPE. */ >+ warning_at (loc, OPT_Wcast_qual, >+- "cast discards %q#v qualifier from pointer target type", >++ "cast discards %qv qualifier from pointer target type", >+ discarded); >+ >+ if (added || discarded) >+ >Index: lang/gcc49/files/patch-c-typeck.c >=================================================================== >--- lang/gcc49/files/patch-c-typeck.c (revision 0) >+++ lang/gcc49/files/patch-c-typeck.c (working copy) >@@ -0,0 +1,17 @@ >+Manuel López-Ibáñez 2012-11-18 21:15:09 UTC >+ >+ PR c/55383 >+ * c/c-typeck.c: Use %qv for non-function types >+ >+--- gcc/c/c-typeck.c~ 2012-09-15 04:29:28.000000000 +0400 >++++ gcc/c/c-typeck.c 2013-06-02 13:57:25.000000000 +0400 >+@@ -4456,7 +4456,7 @@ >+ /* There are qualifiers present in IN_OTYPE that are not present >+ in IN_TYPE. */ >+ warning_at (loc, OPT_Wcast_qual, >+- "cast discards %q#v qualifier from pointer target type", >++ "cast discards %qv qualifier from pointer target type", >+ discarded); >+ >+ if (added || discarded) >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179204
: 134519