Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Thomas A Peterson
Fri, 08 Jan 1993 17:18
code with mixed pointer types fails to compile
Author: Thomas A Peterson
Date: Fri, 08 Jan 1993 17:18
Date: Fri, 08 Jan 1993 17:18
21 lines
842 bytes
842 bytes
Program: gcc
Version: 2.3.3
Machine: SPARCstation IPX
OS: SunOS4.1.1
Description:
The following code fails to compile.
aristotle: cat GNU_FAIL.c
main()
{
int a;
char *dest;
unsigned char *d;
a = dest - d;
}
aristotle: /src/packages/gnu/gcc/gcc-2.3.3/xgcc -B/src/packages/gnu/gcc/gcc-2.3.3/ -c GNU_FAIL.c
GNU_FAIL.c: In function `main':
GNU_FAIL.c:7: invalid operands to binary -
aristotle:
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