Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Jason Merrill
Sat, 07 Nov 1992 04:01
Unhelpful redeclaration warning in gcc 2.3.1
Author: Jason Merrill
Date: Sat, 07 Nov 1992 04:01
Date: Sat, 07 Nov 1992 04:01
15 lines
990 bytes
990 bytes
This declaration: char *memcpy(char *s1, char *s2, int n); produces these warnings: memcpy.c:1: warning: conflicting types for built-in function `memcpy' memcpy.c:1: warning: type mismatch with previous external decl <built-in>:0: warning: previous external decl of `memcpy' Should there be three warnings for the same error? Also, it would be very nice if gcc told you what types it expects, so you don't have to go hunting through the source to find out. -- Jason Merrill jason@jarthur.claremont.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads