5
헤더 파일에는 링크하는 동안 제목에 오류가있는 다음 코드가 있습니다. 그것이 C 표준에 의해 요구로 번역 단위가 비어있을 때 -pedantic
컴파일경고 : ISO C는 빈 변환 단위를 금지합니다.
#ifndef BOOLEAN_H
#define BOOLEAN_H
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE !FALSE
#endif
#endif
indicating the error occurs in the line of the last #endif
어떤 컴파일러를? –
왜 헤더 파일을 컴파일하려고합니까? – mafso