From a0ac177beaf8468126f0daa10571a6cb05fa858d Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Tue, 24 Feb 2015 01:59:38 +0000 Subject: [PATCH] Reword ELAST warning Summary: GCC emits a pretty amusing warning when there are apostrophes in a #warning: ```warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]``` Reword the warning to avoid this, and be more consistent with other warnings in libc++. Reviewers: danalbert Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7818 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@230298 91177308-0d34-0410-b5e6-96231b3b80d8 --- src/config_elast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_elast.h b/src/config_elast.h index 08d0103e..9d6a76b0 100644 --- a/src/config_elast.h +++ b/src/config_elast.h @@ -30,7 +30,7 @@ #define _LIBCPP_ELAST _sys_nerr #else // Warn here so that the person doing the libcxx port has an easier time: -#warning This platform's ELAST hasn't been ported yet +#warning ELAST for this platform not yet implemented #endif #endif // _LIBCPP_CONFIG_ELAST