From 7def18a26ca0ddb383fcb3b126d6a7934fa2ae57 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 23 Sep 2019 22:17:49 +0200 Subject: COMMON: Workaround for a compiler bug in osx_intel buildbot toolchain It was introduced in 014bef9eab9fb409cfb3ec66830e033e4aaa29a9. There is nothing wrong with our code, but strangely, it makes the i686-apple-darwin9-as v1.38 to choke when parsing .stabd directives. Once we upgrade buildbot or do another change to system.h, hopefully this could be removed. --- common/system.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/system.h b/common/system.h index ae0575f0e8..30c2ea9d63 100644 --- a/common/system.h +++ b/common/system.h @@ -222,6 +222,10 @@ protected: */ Common::String _clipboard; + // WORKAROUND. The 014bef9eab9fb409cfb3ec66830e033e4aaa29a9 triggered a bug + // in the osx_intel toolchain. Adding this variable fixes it. + bool _dummyUnused; + private: /** * Indicate if initBackend() has been called. @@ -1524,7 +1528,7 @@ public: virtual bool isConnectionLimited(); //@} - + protected: /** -- cgit v1.2.3