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:
parent
4259fa5c74
commit
c11224dce0
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user