diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-09-15 17:37:12 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-09-15 17:39:00 +0200 |
commit | 411e18028d39ace54096c99dafbdc4f19a2a01b5 (patch) | |
tree | 27f1b593a426e21686b1be1d3dde2eef885171ab /odk/qa | |
parent | a309ddbb9e92c3c9c9318735b26410413573dffc (diff) |
check that ODK headers compile with C++03
Change-Id: Ief191a5bbbdca45aaaa8ae5bcc395124ed189796
Diffstat (limited to 'odk/qa')
-rw-r--r-- | odk/qa/checkapi/checkapi.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odk/qa/checkapi/checkapi.cxx b/odk/qa/checkapi/checkapi.cxx index 96783efb08d0..29ec390327ec 100644 --- a/odk/qa/checkapi/checkapi.cxx +++ b/odk/qa/checkapi/checkapi.cxx @@ -20,6 +20,12 @@ #error Build system problem, RTL_USING using should not be set here. #endif +// Additionally, check that public API headers build also with C++03. + +//#if __cplusplus >= 201103L +//#error Build system problem, C++03 should be used here. +//#endif + // This module contains no tests, this is for the build system. #include <cppunit/plugin/TestPlugIn.h> |