warnings for LLVM in MinGW


Hi,
I can successfully build LLVM 2.8 with Clang 2.8 and LLVM 2.8 with LLVM-GCC 2.8 in Windows using MinGW. However, when I go for running a simple Hello World program, I get warnings. Using LLVM-GCC, the warning i get is the following:


C:\MinGW\bin/ld.exe: Warning: type of symbol _main' changed from 32 to 512 in D<br>:/DOCUME~2/AZIM/LOCALS~1/Temp/ccnsGHVf.o<br><br>Using Clang, the warning i get is the following:<br><br>C:/MinGW/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: Warning: type of symbol _main’ changed from 32 to 512 in C
:/DOCUME~2/AZIM/LOCALS~1/Temp/cc-000001.o

In both cases, the executable is produced and I can run the executable. I am wondering is there any way to fix the warnings.

Thanks,
Akramul
|

In both cases, the executable is produced and I can run the executable. I am wondering is there any way to fix the warnings.

This was fixed in ToT.