From 2ca8c6b9ca2c13729a84cfa68311d61b2416e4b2 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Tue, 24 Feb 2015 01:59:38 +0000 Subject: 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 llvm-svn: 230298 --- libcxx/src/config_elast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/src/config_elast.h') diff --git a/libcxx/src/config_elast.h b/libcxx/src/config_elast.h index 08d0103e8b8..9d6a76b0c00 100644 --- a/libcxx/src/config_elast.h +++ b/libcxx/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 -- cgit v1.2.3