[LLVMdev] DataTypes.h for Visual C

Jochen Wilhelmy j.wilhelmy at arcor.de
Thu Jun 24 07:22:02 PDT 2010


Hi!

In DataTypes.h (generated from DataTypes.cmake) there is an extra
code path for Visual C.

This can produce macro redefinitions for INT8_MAX, INT8_MIN etc.
since other headers may also define them. Therefore please
protect the macros like INT8_C etc.

Also it would be nice if the auto-generated HAVE_STDINT_H
and HAVE_INTTYPES_H would be used also for Visual C since it
is possible to add them to the global header directory
(e.g. http://msinttypes.googlecode.com/svn/trunk)

-Jochen




More information about the llvm-dev mailing list