Displaying 2 results from an estimated 2 matches for "ccfree4x".
2009 Sep 29
4
[LLVMdev] LLVM: C++ -> C
...ned this charming stuff:
http://codepaste.ru/2409/
And after "llvm-gcc C:\llvm_helloCppToC.c -o C:\llvm_helloCppToC.exe"
I've got:
"C:\llvm_helloCppToC.c: In function 'main':
C:\llvm_helloCppToC.c:180: warning:return type of 'main' is not 'int'
C:\...\Temp/ccfREe4x.o:fake:(.text+0xae): undefined reference to 'std::ios_base::Init::Init()'
C:\...\Temp/ccfREe4x.o:fake:(.text+0xbe): undefined reference to 'std::ios_base::Init::~Init()'
collect2: ld returned 1 exit status"
What I've done wrong?
2009 Sep 29
0
[LLVMdev] LLVM: C++ -> C
...http://codepaste.ru/2409/
> And after "llvm-gcc C:\llvm_helloCppToC.c -o C:\llvm_helloCppToC.exe"
> I've got:
> "C:\llvm_helloCppToC.c: In function 'main':
> C:\llvm_helloCppToC.c:180: warning:return type of 'main' is not 'int'
> C:\...\Temp/ccfREe4x.o:fake:(.text+0xae): undefined reference to
> 'std::ios_base::Init::Init()'
> C:\...\Temp/ccfREe4x.o:fake:(.text+0xbe): undefined reference to
> 'std::ios_base::Init::~Init()'
> collect2: ld returned 1 exit status"
> What I've done wrong?
>
>
>
&...