Displaying 4 results from an estimated 4 matches for "uquad_max".
2004 Jul 15
2
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
..._t)(ULLONG_MAX>>1)) /* 0x7fffffffffffffff */
#define LLONG_MIN ((quad_t)((-LLONG_MAX)-1)) /* 0x8000000000000000 */
#define LONG_LONG_MIN LLONG_MIN
#define LONG_LONG_MAX LLONG_MAX
#define ULONG_LONG_MAX ULLONG_MAX
#define QUAD_MIN LLONG_MIN
#define QUAD_MAX LLONG_MAX
#define UQUAD_MAX ULLONG_MAX
...
--- /usr/include/limits.h ---------------------
Which defintions do you think encompasses LLVMs expectations?:
INT8_MAX - SCHAR_MAX //signed
INT8_MIN - SCHAR_MIN //signed
INT16_MAX - SHRT_MAX //signed
INT16_MIN - SHRT_MIN //signed
INT32_MAX - LONG_MAX //signed
INT32_MIN - LO...
2003 Apr 11
0
compilation errors
...ork around it.
This is on a BSD/OS 4.2 system.
First, the generated config.h always creates a definition
for OFF_T_MAX which conflicts with the one in the system's
limits.h
config.h defines:
#define OFF_T_MAX LLONG_MAX
whereas /usr/include/machine/limits.h defines:
#define OFF_T_MAX UQUAD_MAX /* max value for an off_t */
I simply comment out the definition from config.h .
Second, in src/lib/mmap-anon.c there's a preprocessor conditional:
#if SSIZE_T_MAX >= LLONG_MAX
(etc)
Unfortunately /usr/include/machine/limits.h defines LLONG_MAX thusly:
#define LLONG_MAX...
2004 Jul 14
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
..._t)(ULLONG_MAX>>1)) /* 0x7fffffffffffffff */
#define LLONG_MIN ((quad_t)((-LLONG_MAX)-1)) /* 0x8000000000000000 */
#define LONG_LONG_MIN LLONG_MIN
#define LONG_LONG_MAX LLONG_MAX
#define ULONG_LONG_MAX ULLONG_MAX
#define QUAD_MIN LLONG_MIN
#define QUAD_MAX LLONG_MAX
#define UQUAD_MAX ULLONG_MAX
...
--- /usr/include/limits.h ---------------------
Which defintions do you think encompasses LLVM's expectations?
INT8_MAX - SCHAR_MAX //signed
INT8_MIN - SCHAR_MIN //signed
INT16_MAX - SHRT_MAX //signed
INT16_MIN - SHRT_MIN //signed
INT32_MAX - LONG_MAX //signed
INT32_...
2004 Jul 15
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...> #define LLONG_MIN ((quad_t)((-LLONG_MAX)-1)) /* 0x8000000000000000 */
>
>
> #define LONG_LONG_MIN LLONG_MIN
> #define LONG_LONG_MAX LLONG_MAX
> #define ULONG_LONG_MAX ULLONG_MAX
>
>
> #define QUAD_MIN LLONG_MIN
> #define QUAD_MAX LLONG_MAX
> #define UQUAD_MAX ULLONG_MAX
> ...
> --- /usr/include/limits.h ---------------------
>
> Which defintions do you think encompasses LLVMs expectations?:
>
> INT8_MAX - SCHAR_MAX //signed
> INT8_MIN - SCHAR_MIN //signed
> INT16_MAX - SHRT_MAX //signed
> INT16_MIN - SHRT_MIN //signed
>...