Fix invalid octal number in expansion of macro MING_VERSION_CODE

Desktop / Gnash - Sandro Santilli [kbt.io] - 28 January 2017 09:18 UTC

GCC 5.4.0 was complaining about it

###

diff --git a/testsuite/misc-ming.all/ming_utils.h b/testsuite/misc-ming.all/ming_utils.h
index 42be9fe..dd6c618 100644
--- a/testsuite/misc-ming.all/ming_utils.h
+++ b/testsuite/misc-ming.all/ming_utils.h
@@ -23,7 +23,7 @@

#include

-#if MING_VERSION_CODE >= 00040004
+#if MING_VERSION_CODE >= 40004
# define MING_SUPPORTS_INIT_ACTIONS
#endif

@@ -40,9 +40,9 @@ void SWFMovie_writeExports(SWFMovie movie);
* A cleaner approach is likely switch to
* using newSWFAction always and change the
* macro to make it output compileSWFActionCode
- * when MING_VERSION_CODE < 000040004
+ * when MING_VERSION_CODE < 40004
*/
-#if MING_VERSION_CODE >= 00040004
+#if MING_VERSION_CODE >= 40004
# define compileSWFActionCode newSWFAction
#else
# define newSWFAction compileSWFActionCode
@@ -53,7 +53,7 @@ void SWFMovie_writeExports(SWFMovie movie);
* and replaced by 'call'. Before that version 'call' would
* never be recognized as a "callframe" action
*/
-#if MING_VERSION_CODE >= 00040006
+#if MING_VERSION_CODE >= 40006
# define CALLFRAME "call"
#else
# define CALLFRAME "callFrame"

ff92e0a Fix invalid octal number in expansion of macro MING_VERSION_CODE
testsuite/misc-ming.all/ming_utils.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Upstream: git.savannah.gnu.org


  • Share