[ CnUnix ] in KIDS 글 쓴 이(By): Nameless (One) 날 짜 (Date): 2006년 9월 19일 화요일 오후 10시 20분 15초 제 목(Title): Re: [Q] #if 0 ~ #endif 사이에 따옴표 test code - begin - main() { printf("Hello World\n"); #if 0 babo ' #endif } - end - 1. ~$ gcc -v -- 생략 -- gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) ~$ gcc test1.c ~$ 2. ~$ gcc test1.c test1.c:5:14: missing terminating ' character ~$ gcc -v -- 생략 -- gcc version 3.3.5 (Debian 1:3.3.5-13) swhan@escob:~$ gcc-2.95 test1.c test1.c:5: unterminated string or character constant swhan@escob:~$ gcc-3.0 test1.c test1.c:5:14: missing terminating ' character swhan@escob:~$ gcc-3.3 test1.c test1.c:5:14: missing terminating ' character 3. ~]$ gcc test1.c test1.c:5: unterminated string or character constant [Exit 1] ~]$ gcc -v Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs gcc version 2.95.2 19991024 (release) --------- 집에서 접속 가능한데는 4가 없군요. 흠... |