Displaying 5 results from an estimated 5 matches for "int8_c".
Did you mean:
int8_t
2009 Dec 07
2
[LLVMdev] Macro redefinitions
In DataTypes.h starting on line 121 are these lines:
#define INT8_C(C) C
#define UINT8_C(C) C
#define INT16_C(C) C
#define UINT16_C(C) C
#define INT32_C(C) C
#define UINT32_C(C) C ## U
#define INT64_C(C) ((int64_t) C ## LL)
#define UINT64_C(C) ((uint64_t) C ## ULL)
They are conflicting with the cstdint when we have updated headers in
our MSVC build. I could...
2009 May 12
1
[LLVMdev] MSVC cstdint
In the llvm file include/llvm/Support/DataTypes.h (.in/.cmake), for
MSVCit defines some macros that are defined in the cstdint.hpp file in
boost (and boost does it better, detailed below):
The basic error is:
R:\SDKs\boost\built_head\include\boost-1_38\boost/cstdint.hpp(347) :
warning C4005: 'INT8_C' : macro redefinition
R:\SDKs\llvm\trunk_VC8_building\include\llvm/Support/DataTypes.h(116)
: see previous definition of 'INT8_C'
R:\SDKs\boost\built_head\include\boost-1_38\boost/cstdint.hpp(348) :
warning C4005: 'INT16_C' : macro redefinition
R:\SDKs\llvm\trunk...
2010 Jun 24
3
[LLVMdev] DataTypes.h for Visual C
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
2010 Jun 24
1
[LLVMdev] DataTypes.h for Visual C
...d stuff for the rest of compilers. The
#ifndef...#else does just that. Maybe you are reading #ifndef as #ifdef?
>>> 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)
>&...
2016 Jun 20
2
Quality of LLVM headers
Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org> writes:
> On Mon, Jun 20, 2016 at 05:05:18PM +0000, Paweł Bylica via llvm-dev wrote:
>> On Sun, Jun 19, 2016, 17:57 Joerg Sonnenberger <joerg at bec.de> wrote:
>>
>> > On Sun, Jun 19, 2016 at 03:24:22PM +0000, Paweł Bylica via llvm-dev wrote:
>> > > Hi LLVM,
>> > >
>>