[LLVMdev] ms vc 10 warnings

Francois Pichet pichet2000 at gmail.com
Wed May 25 08:27:28 PDT 2011


On Wed, May 25, 2011 at 8:32 AM, Jochen Wilhelmy <j.wilhelmy at arcor.de> wrote:
> Hi!
>
> when compiling projects using llvm 2.9 and ms vc 10 I get these warnings:
>
> 1>e:\Jochen\Lib\lib\include\llvm/Use.h(218): warning C4624:
> 'llvm::AugmentedUse' : destructor could not be generated because a base
> class destructor is inaccessible
>
>
> 1>C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\VC\include\stdint.h(72): warning C4005: 'INT8_MIN' : macro redefinition
> 1>          e:\Jochen\Lib\lib\include\llvm/Support/DataTypes.h(116) :
> see previous definition of 'INT8_MIN'
>
>
> The second one is because the visual c++ codepath in DataTypes.h does
> not check for stdint.h
> which is available on vs 10 (but not inttypes.h).
>

These 2 warnings don't appear to me using the trunk and MSVC 2010 SP1.
I do see 46 warnings though.. I think it is time to clean some of them.




More information about the llvm-dev mailing list