Description: Fix FTBFS with gcc-4.8 and -Werror and -Wunused-local-typedefs. Author: Juhani Numminen Bug-Debian: http://bugs.debian.org/701294 Last-Update: 2013-06-07 Index: holotz-castle-1.3.14/JLib/JLib/Util/JRW.h =================================================================== --- holotz-castle-1.3.14.orig/JLib/JLib/Util/JRW.h 2013-06-07 16:46:24.000000000 -0400 +++ holotz-castle-1.3.14/JLib/JLib/Util/JRW.h 2013-06-07 17:06:56.000000000 -0400 @@ -203,7 +203,6 @@ */ u32 ReadLE32(float *fbuff) { - typedef char pre_cxx0x_static_assert[sizeof(u32) == sizeof(float) ? 1 : -1 ]; u32 ibuff; if (ReadLE32(&ibuff) == 4) { @@ -308,7 +307,6 @@ */ u32 WriteLE32(const float *fbuff) { - typedef char pre_cxx0x_static_assert[sizeof(u32) == sizeof(float) ? 1 : -1 ]; u32 ibuff; memcpy(&ibuff, fbuff, sizeof(u32)); return WriteLE32(&ibuff);