[libcxx] r230298 - Reword ELAST warning
JF Bastien
jfb at google.com
Mon Feb 23 17:59:38 PST 2015
Author: jfb
Date: Mon Feb 23 19:59:38 2015
New Revision: 230298
URL: http://llvm.org/viewvc/llvm-project?rev=230298&view=rev
Log:
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
Modified:
libcxx/trunk/src/config_elast.h
Modified: libcxx/trunk/src/config_elast.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/config_elast.h?rev=230298&r1=230297&r2=230298&view=diff
==============================================================================
--- libcxx/trunk/src/config_elast.h (original)
+++ libcxx/trunk/src/config_elast.h Mon Feb 23 19:59:38 2015
@@ -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
More information about the cfe-commits
mailing list