From 876615e3a3addea608ce85114dc3f4bd22e9caa2 Mon Sep 17 00:00:00 2001 From: Colin Wallace Date: Sat, 10 Mar 2018 00:28:58 -0800 Subject: [PATCH] Warn when compiling with C++14 or greater. --- include/stdshims.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/stdshims.h b/include/stdshims.h index a17902d7e..14958e1fc 100644 --- a/include/stdshims.h +++ b/include/stdshims.h @@ -6,6 +6,10 @@ #include #include +#if (__cplusplus >= 201402L) +#warning "This file should now be removed! The functions it provides are part of the C++14 standard." +#endif + /// Shim for http://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique template std::unique_ptr make_unique(Args&&... args)