diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-15 01:42:27 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-15 01:42:27 -0500 |
commit | 33aada30d9c1acdf0ff7a9e37a9de3cae0ad24cf (patch) | |
tree | c0e8602e542fea86d7f2ad1328bc829fbf4d21af | |
parent | c76c56d443f7379308f3a47ad8d3ce2e4647f984 (diff) | |
download | tdebase-33aada30d9c1acdf0ff7a9e37a9de3cae0ad24cf.tar.gz tdebase-33aada30d9c1acdf0ff7a9e37a9de3cae0ad24cf.zip |
Fix covariant return check
This partially resolves Bug 1025
Thanks to 'Nix' for the patch!
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | khotkeys/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3da5b2f63..ecda50655 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,7 @@ set( VERSION "R14" ) include( FindPkgConfig ) include( CheckIncludeFile ) include( CheckCSourceRuns ) +include( CheckCXXSourceRuns ) include( CheckCXXSourceCompiles ) include( CheckLibraryExists ) include( CheckFunctionExists ) diff --git a/khotkeys/CMakeLists.txt b/khotkeys/CMakeLists.txt index b2529ae04..39c84111e 100644 --- a/khotkeys/CMakeLists.txt +++ b/khotkeys/CMakeLists.txt @@ -9,7 +9,7 @@ # ################################################# -check_c_source_runs( " +check_cxx_source_runs( " class A { public: virtual A* me(); }; class X { public: int x; virtual void ff() {}; }; class B : public X, public A { public: virtual B* me(); }; |