* A five character qualifier saves the C++ build ...
@ 2011-05-13 1:04 Toon Moene
2011-05-13 4:54 ` Mike Stump
0 siblings, 1 reply; 2+ messages in thread
From: Toon Moene @ 2011-05-13 1:04 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
[ Strong Typing Is For People With Weak Memories ]
The attached patch fixes the C++ (--disable-werror) bootstrap:
2011-05-12 Toon Moene <toon@moene.org>
* objc-next-runtime-abi-02.c (objc_build_internal_classname):
Add const qualifier to constant variable pointer declaration.
Apply as obvious ?
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news
[-- Attachment #2: objc.patch --]
[-- Type: text/x-patch, Size: 447 bytes --]
Index: objc-next-runtime-abi-02.c
===================================================================
--- objc-next-runtime-abi-02.c (revision 173710)
+++ objc-next-runtime-abi-02.c (working copy)
@@ -1879,7 +1879,7 @@ objc_build_internal_classname (tree ident, bool me
static const char *
newabi_append_ro (const char *name)
{
- char *dollar;
+ const char *dollar;
char *p;
static char string[BUFSIZE];
dollar = strchr (name, '$');
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A five character qualifier saves the C++ build ...
2011-05-13 1:04 A five character qualifier saves the C++ build Toon Moene
@ 2011-05-13 4:54 ` Mike Stump
0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2011-05-13 4:54 UTC (permalink / raw)
To: Toon Moene; +Cc: gcc-patches
On May 12, 2011, at 1:33 PM, Toon Moene wrote:
> [ Strong Typing Is For People With Weak Memories ]
:-)
> 2011-05-12 Toon Moene <toon@moene.org>
>
> * objc-next-runtime-abi-02.c (objc_build_internal_classname):
> Add const qualifier to constant variable pointer declaration.
> Apply as obvious ?
Yes, it was obvious...
Ok.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-12 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13 1:04 A five character qualifier saves the C++ build Toon Moene
2011-05-13 4:54 ` Mike Stump
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).