summaryrefslogtreecommitdiffstats
path: root/config.tests/compilerdetection/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/compilerdetection/main.cpp')
-rw-r--r--config.tests/compilerdetection/main.cpp69
1 files changed, 0 insertions, 69 deletions
diff --git a/config.tests/compilerdetection/main.cpp b/config.tests/compilerdetection/main.cpp
deleted file mode 100644
index cc96216..0000000
--- a/config.tests/compilerdetection/main.cpp
+++ /dev/null
@@ -1,69 +0,0 @@
-/******************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtKnx module.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-******************************************************************************/
-
-#include <QtCore/qglobal.h>
-
-#ifndef Q_QDOC
-# if !defined(Q_OS_WIN)
-# if defined(Q_CC_CLANG)
-# if defined(__apple_build_version__)
-# if __apple_build_version__ == 8020041
-# error "Apple LLVM version 8.1.0 (clang-802.0.41)"
-# endif
-# endif
-# elif defined(Q_CC_GNU)
-# if Q_CC_GNU < 409
-# error "GCC version less than 4.9.0"
-# endif
-# endif
-# else
-# if defined(Q_CC_MSVC)
-# if Q_CC_MSVC < 1900
-# error "Visual C++ compiler less than version 19."
-# endif
-# endif
-# endif
-
-struct ConstExpr
-{
- static constexpr const quint16 DefaultPort = 3671;
- static constexpr const char *MulticastAddress = "224.0.23.12";
-};
-#endif
-
-int main(int /*argc*/, char** /*argv*/)
-{
-#ifndef Q_QDOC
- auto port = ConstExpr::DefaultPort;
- Q_UNUSED(port)
- auto address = ConstExpr::MulticastAddress;
- Q_UNUSED(address)
-#endif
-
- return 0;
-}