1
어제 내 작업 트리에 컴파일 오류를 삽입하려고했습니다. 일반적으로 #error를 사용하여 컴파일 오류를 생성합니다. 하지만 # 1 시도했지만 작동하지 않습니다. 이것에 대한 이유는 무엇일까요? # 1
등의 테마에시뮬레이션 컴파일 오류
t1.c
#include <stdio.h>
int main(){
#error
}
**compilation error**
t1.c:3:3: error:
#error
t2.c
#include <stdio.h>
int main(){
#1
}
But there is no compilation error in t2.c