gcc 2.95: Bug or Feature
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Tue Aug 31 22:45:00 GMT 1999
> #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
More information about the Gcc-bugs
mailing list