mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*Core: Fixes to compile with GCC 4.6 (RM #52)
git-svn-id: svn://ultimatepp.org/upp/trunk@3331 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7f2fe06635
commit
294f9a2dbe
3 changed files with 6 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ public:
|
|||
Convert();
|
||||
virtual ~Convert();
|
||||
#else
|
||||
#ifdef __clang__
|
||||
#if defined(__clang__) || GCC_VERSION >= 40600
|
||||
Convert(){};
|
||||
#endif
|
||||
virtual ~Convert() {}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <typeinfo>
|
||||
#include <stddef.h>
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
#if __GNUC__
|
||||
|
||||
#define COMPILER_GCC 1
|
||||
|
||||
#define GCC_VERSION (__GNUC__ * 10000 \
|
||||
+ __GNUC_MINOR__ * 100 \
|
||||
+ __GNUC_PATCHLEVEL__)
|
||||
|
||||
#if __WIN32
|
||||
#define COMPILER_MINGW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue