Article View: gnu.g++.bug
Article #317syntax warning in cplus-method.c
From: Andrew Klossner
Date: Tue, 01 Aug 1989 19:07
Date: Tue, 01 Aug 1989 19:07
15 lines
913 bytes
913 bytes
I compile G++ with a GCC that does type checking of arguments to strcpy.
It complained about this line from procedure stash_inline_prefix in
file cplus-method.c in G++ 1.35.0:
OB_PUTS (DECL_NAME (result));
I changed it to:
OB_PUTS (IDENTIFIER_POINTER (DECL_NAME (result)));
and the syntax warning message went away.
Was this right?
-=- Andrew Klossner (uunet!tektronix!frip.WV.TEK!andrew) [UUCP]
(andrew%frip.wv.tek.com@relay.cs.net) [ARPA]
Technical Details
Message-ID:
<4086@orca.WV.TEK.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!orca!frip!andrewShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!orca!frip!andrew From: andrew@frip.WV.TEK.COM (Andrew Klossner) Newsgroups: gnu.g++.bug Subject: syntax warning in cplus-method.c Message-ID: <4086@orca.WV.TEK.COM> Date: 1 Aug 89 19:07:38 GMT Sender: nobody@orca.WV.TEK.COM Distribution: gnu Organization: Tektronix, Wilsonville, Oregon Lines: 15