Force -std=c++14 to enable __STRICT_ANSI__.

This removes __float128 warnings (enabled when building cling, disabled at runtime due to missing
support in clang) on MacOS with GCC.
This commit is contained in:
Axel Naumann 2017-07-04 11:18:32 +02:00 committed by sftnight
parent 4259fa5c74
commit c11224dce0
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
// LICENSE.TXT for details.
//------------------------------------------------------------------------------
// RUN: cat %s | %cling -Xclang -verify 2>&1 | FileCheck %s
// RUN: cat %s | %cling -std=c++14 -Xclang -verify 2>&1 | FileCheck %s
// FIXME: cat %s | %cling -fsyntax-only -Xclang -verify 2>&1
// Test to check functions registered via atexit are intercepted, and __dso_handle

View File

@ -6,7 +6,7 @@
// LICENSE.TXT for details.
//------------------------------------------------------------------------------
// RUN: cat %s | %cling 2>&1 | FileCheck %s
// RUN: cat %s | %cling -std=c++14 2>&1 | FileCheck %s
#include "cling/Interpreter/Interpreter.h"
#include "cling/Interpreter/Value.h"