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
This commit is contained in:
parent
14861507bc
commit
a0ac177bea
@ -30,7 +30,7 @@
|
|||||||
#define _LIBCPP_ELAST _sys_nerr
|
#define _LIBCPP_ELAST _sys_nerr
|
||||||
#else
|
#else
|
||||||
// Warn here so that the person doing the libcxx port has an easier time:
|
// 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
|
||||||
|
|
||||||
#endif // _LIBCPP_CONFIG_ELAST
|
#endif // _LIBCPP_CONFIG_ELAST
|
||||||
|
Loading…
x
Reference in New Issue
Block a user