This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 2.95: Bug or Feature
- To: ad at MPIfR-Bonn dot MPG dot de
- Subject: Re: gcc 2.95: Bug or Feature
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sun, 29 Aug 1999 16:45:56 +0200
- CC: gcc-bugs at gcc dot gnu dot org, linuxppc-user at lists dot linuxppc dot org
- References: <199908201342.PAA00402@spcklr.mpifr-bonn.mpg.de>
> #include <string.h>
>
> void hsets_(long hed[128], long *entry, char *string, long strlen)
> {
> strncpy(string,"#???",4);
> }
[...]
> Changing the parameter name removes the error. Is this a bug or a feature?
Thanks for your bug report. It is hard to tell whether this is a bug,
without seeing the contents of string.h. Please resubmit your report
after reading http://egcs.cygnus.com/faq.html#bugreport.
Perhaps looking at the preprocessor output will give a clue.
Regards,
Martin