Path: 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 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]