안녕하세요.. 암것도 모르고 리눅써라고 자처하는 넘임니다 ㅡ.ㅡ
KDE 매니저에 있는 Kdevelop 2.0 개발도구로... C 를 컴파일하면...
-------------- 소스..c --------------
void function(int a, int b, int c) {
char buffer1[5];
char buffer2[10];
}
void main() {
function(1,2,3);
}
-------------------------------------
-------------이런 오류가뜹니다----
main.c:24:1: warning: no newline at end of file
main.c: In function `function':
main.c:18: parse error before character 0240
main.c: In function `main':
main.c:23: parse error before character 0240
main.c:22: warning: return type of `main' is not `int'
-------------------------------------
그렇다고 GCC가 이상있는것도 아니더군요....
-----------------------------------------
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv<>)
{
printf("Hello, world!");
return EXIT_SUCCESS;
}
---------------------------------------------
이 소스 컴파일 하면 잘 되고. ㅡ.ㅡ; 허 참...