From 185b70084a9d7cc0edd15c97ce90baed92efe5eb Mon Sep 17 00:00:00 2001 From: Hugues Delorme Date: Thu, 30 Jun 2016 10:39:45 +0200 Subject: [PATCH] fake_support: fix compilation error with Clang --- CMakeLists.txt | 2 +- tests/fake_support/opencascade/TColStd_ListOfInteger.hxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 91fc78a..79ac7ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ endif() option(GMIO_BUILD_STRICT_C90 "Build gmio library(and tests) with strict conformance to C90 standard" OFF) option(GMIO_BUILD_SHARED_LIBS "Build gmio as a shared library (DLL)" OFF) option(GMIO_BUILD_BENCHMARKS "Build performance benchmarks for the gmio library" OFF) -option(GMIO_BUILD_EXAMPLES "Build gmio examples" OFF) +option(GMIO_BUILD_EXAMPLES "Build gmio examples" OFF) option(GMIO_BUILD_TESTS_FAKE_SUPPORT "Build tests/fake_support target" OFF) if(CMAKE_C_COMPILER_IS_GCC_COMPATIBLE) option(GMIO_BUILD_TESTS_COVERAGE "Instrument testing code with code coverage" OFF) diff --git a/tests/fake_support/opencascade/TColStd_ListOfInteger.hxx b/tests/fake_support/opencascade/TColStd_ListOfInteger.hxx index 034b3af..e7dd54f 100644 --- a/tests/fake_support/opencascade/TColStd_ListOfInteger.hxx +++ b/tests/fake_support/opencascade/TColStd_ListOfInteger.hxx @@ -6,6 +6,7 @@ class TColStd_ListOfInteger { public: + TColStd_ListOfInteger() {} Standard_Boolean IsEmpty() const { return Standard_True; } int First() const { return -1; } };