Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Kevin Martin
Wed, 27 Jan 1993 03:04
unterminated character constant
Author: Kevin Martin
Date: Wed, 27 Jan 1993 03:04
Date: Wed, 27 Jan 1993 03:04
20 lines
1176 bytes
1176 bytes
Compiling the following code segment (no compiler options): #if 0 This is a test of an if This line isn't going to work But this line will, as will the first line #endif with GCC 2.3.3 under Linux 0.99pl3 (i486), SunOs 4.1.1 (Sparc), and Ultrix 4.2 (DEC 5000) yields an the error: a.c:3: unterminated character constant The problem is the single quote. It also happens if you use an #ifdef, but doesn't happen if you put the text inside a comment. Kevin ___ Kevin E. Martin University of North Carolina at Chapel Hill martin@cs.unc.edu Department of Computer Science
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