Reduce compiler.h to almost nothing (but it's worth keeping around I think, for

the MSVC and MipsPro warning stuff).

As a result of this patch, simgear/sg_traits.h can be deleted. So can SGCMath.h,
but I'll do that separately.

There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X),
but I want to keep that separate from everything else. (There's another mechnica
l change, replacing <math.h> with <cmath> and so on *everywhere*, but one step a
t a time)
This commit is contained in:
ehofman
2008-07-25 18:35:40 +00:00
parent cd72eb20c6
commit 733e6fa14f
81 changed files with 122 additions and 450 deletions
+1 -6
View File
@@ -3,12 +3,7 @@
#include <simgear/compiler.h>
#if defined ( SG_HAVE_STD_INCLUDES )
# include <cassert>
#else
# include <assert.h>
#endif
#include <cassert>
#include <queue>
#include "SGThread.hxx"
#include "SGGuard.hxx"
+2 -7
View File
@@ -26,13 +26,8 @@
#include <simgear/compiler.h>
#include <pthread.h>
#if defined ( SG_HAVE_STD_INCLUDES )
# include <cassert>
# include <cerrno>
#else
# include <assert.h>
# include <sys/errno.h>
#endif
#include <cassert>
#include <cerrno>
class SGThread;