[ios] .c 파일을 import 한 후 build 가 안 된다면 pch 파일을 확인해봐라.
[ios] .c 파일을 import 한 후 build 가 안 된다면 pch 파일을 확인해봐라. pch 파일은 빌드할 때 매번 사용되는 녀석으로, c 를 컴파일 할 때도 사용된다.그래서 pch 파일에 objective-c 에서 사용하는 녀석에 대한 import 문이 있다면 compile 에러가 난다. pch 파일에서 아래와 같이 ifdef 구문으로 처리해주어야 한다. ( c 에서는 ObjectiveC 의 header 를 import 못하니깐 )#ifdef __OBJC__#import “ObjecitveCHeader.h"#endif #endif, #ifdef, .c import, build, C, Compile, compile error, endif, ifdef, import, Objective-C, PCH..
2018. 1. 31.
[android] compile error, is not translated in af, am, ar, be, bg, ca, cs, da, de, el, en-rGB, es, es-rUS, et, et-rEE, fa, fi, fr, he, hi, hr, hu, in, it, iw, ja, ko, lt, lv, ms, ms-rMY, nb, nl, pl, pt, pt-rBR, pt-rPT, ro, ru, sk, sl, sr, sv, sw, th, t..
android, compile error is not translated in af, am, ar, be, bg, ca, cs, da, de, el, en-rGB, es, es-rUS, et, et-rEE, fa, fi, fr, he, hi, hr, hu, in, it, iw, ja, ko, lt, lv, ms, ms-rMY, nb, nl, pl, pt, pt-rBR, pt-rPT, ro, ru, sk, sl, sr, sv, sw, th, tl, tr, uk, vi, zh, zh-rCN, zh-rTW, zu Lint Error 에 해당하는 Compile error 로 모든 language 에 대한 support 를 권장하고자 하는 android 측의 움직임인듯 싶다.해당 lint 에러를 꺼주면 바로 co..
2014. 2. 13.