Browse Source

GCC 4.5 compatibility: no forward declarations for enums.

Vladimír Vondruš 13 years ago
parent
commit
51b000d03a
  1. 4
      src/Context.h
  2. 4
      src/Platform/AbstractXApplication.h
  3. 4
      src/Platform/GlutApplication.h
  4. 4
      src/Platform/Sdl2Application.h
  5. 4
      src/Shader.h

4
src/Context.h

@ -37,6 +37,10 @@
#include "OpenGL.h"
#include "magnumVisibility.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Version.h"
#endif
namespace Magnum {
/** @todoc Resolve conflict with Audio/Context.h (Doxygen doesn't list this file) */

4
src/Platform/AbstractXApplication.h

@ -41,6 +41,10 @@
#include "Math/Vector2.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Version.h"
#endif
namespace Magnum {
class Context;

4
src/Platform/GlutApplication.h

@ -38,6 +38,10 @@
#include "OpenGL.h"
#include <GL/freeglut.h>
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Version.h"
#endif
namespace Magnum {
class Context;

4
src/Platform/Sdl2Application.h

@ -42,6 +42,10 @@
#include <Containers/EnumSet.h>
#include <Corrade.h>
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Version.h"
#endif
namespace Magnum {
class Context;

4
src/Shader.h

@ -35,6 +35,10 @@
#include "Magnum.h"
#include "magnumVisibility.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Version.h"
#endif
namespace Magnum {
/**

Loading…
Cancel
Save