mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:29:16 +08: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
|
@ -272,7 +272,7 @@ check_cxx_source_compiles("
|
|||
#include <sys/wait.h>
|
||||
|
||||
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;
|
||||
}
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue
Block a user