Small conf.h update.
This commit is contained in:
+2
-2
@@ -107,8 +107,8 @@
|
|||||||
#elif (ACC_CC_SUNPROC)
|
#elif (ACC_CC_SUNPROC)
|
||||||
//# pragma error_messages(off,"badargtype2w") // FIXME
|
//# pragma error_messages(off,"badargtype2w") // FIXME
|
||||||
#elif (ACC_CC_WATCOMC)
|
#elif (ACC_CC_WATCOMC)
|
||||||
# if (__WATCOMC__ < 1100)
|
# if (__WATCOMC__ < 1280)
|
||||||
# error "need Watcom C++ 11.0c or newer"
|
# error "need Open Watcom C++ 1.8 or newer" // because earlier versions do not support nested classes
|
||||||
# endif
|
# endif
|
||||||
# if defined(__cplusplus)
|
# if defined(__cplusplus)
|
||||||
# pragma warning 367 9 // w3: conditional expression in if statement is always true
|
# pragma warning 367 9 // w3: conditional expression in if statement is always true
|
||||||
|
|||||||
+1
-1
@@ -846,7 +846,7 @@ bool PackLinuxElf32::canPack()
|
|||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
unsigned char buf[sizeof(Elf32_Ehdr) + 14*sizeof(Elf32_Phdr)];
|
unsigned char buf[sizeof(Elf32_Ehdr) + 14*sizeof(Elf32_Phdr)];
|
||||||
//struct { U_Elf32_Ehdr ehdr; U_Elf32_Phdr phdr; } e;
|
//struct { Elf32_Ehdr ehdr; Elf32_Phdr phdr; } e;
|
||||||
} u;
|
} u;
|
||||||
COMPILE_TIME_ASSERT(sizeof(u.buf) <= 512);
|
COMPILE_TIME_ASSERT(sizeof(u.buf) <= 512);
|
||||||
|
|
||||||
|
|||||||
@@ -97,10 +97,6 @@ namespace std { class bad_alloc { }; }
|
|||||||
#elif (ACC_CC_SYMANTECC)
|
#elif (ACC_CC_SYMANTECC)
|
||||||
#define std
|
#define std
|
||||||
class bad_alloc { };
|
class bad_alloc { };
|
||||||
#elif (ACC_CC_WATCOMC && (__WATCOMC__ >= 1280))
|
|
||||||
#elif (ACC_CC_WATCOMC)
|
|
||||||
#define std
|
|
||||||
class bad_alloc { };
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user