From 18ed28994936e8141487d60958f63dc764ed7f04 Mon Sep 17 00:00:00 2001 From: Roland Rossgotterer Date: Mon, 10 Dec 2018 15:55:50 +0100 Subject: [PATCH] Workaround GCC 5.3 bug about constructor inheritance See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6705 for details --- src/plugins/simulator/p3d/simulatorp3d.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/simulator/p3d/simulatorp3d.h b/src/plugins/simulator/p3d/simulatorp3d.h index 92694a75f..4a215d923 100644 --- a/src/plugins/simulator/p3d/simulatorp3d.h +++ b/src/plugins/simulator/p3d/simulatorp3d.h @@ -86,7 +86,9 @@ namespace BlackSimPlugin public: //! Constructor - using CSimulatorFsxCommonListener::CSimulatorFsxCommonListener; + // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054 - Constructor inheritance with non-default constructible members + // using CSimulatorFsxCommonListener::CSimulatorFsxCommonListener; + CSimulatorP3DListener(const BlackMisc::Simulation::CSimulatorPluginInfo &info) : FsxCommon::CSimulatorFsxCommonListener(info) {} protected: virtual void startImpl() override;