mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
Make static_assert C++11 compatible
static_assert without a message is C++17. Which we can't use 5 years later.
This commit is contained in:
parent
bcd84c6908
commit
e04785604a
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ check_cxx_source_compiles("
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
static_assert(WEXITSTATUS(0x007f) == 0x7f);
|
static_assert(WEXITSTATUS(0x007f) == 0x7f, \"This is our message we need to add because C++ is terrible\");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue