This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 2.95: Bug or Feature


> #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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]