diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-24 18:07:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-24 18:07:19 +0300 |
commit | 9d2eb460fa3569342044b6f3e61d52d86ca8cbb6 (patch) | |
tree | 70b9b43072ae67a379fea3693d8671bb75d2a0fa /src/logger.h | |
parent | 30da377919524a96a385cbe16f8ab74d5a4a7fab (diff) | |
download | manaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.tar.gz manaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.tar.bz2 manaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.tar.xz manaplus-9d2eb460fa3569342044b6f3e61d52d86ca8cbb6.zip |
fix compilation warnings.
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/logger.h b/src/logger.h index 40ea191c2..da910fd57 100644 --- a/src/logger.h +++ b/src/logger.h @@ -152,14 +152,21 @@ class Logger final * Log an error and quit. The error will pop-up on Windows and Mac, and * will be printed to standard error everywhere else. */ - void error(const std::string &error_text) __attribute__ ((noreturn)); + void error(const std::string &error_text) +#ifndef ENABLE_CILKPLUS + __attribute__ ((noreturn)) +#endif + ; /** * Log an error and quit. The error will pop-up on Windows and Mac, and * will be printed to standard error everywhere else. */ void safeError(const std::string &error_text) - __attribute__ ((noreturn)); +#ifndef ENABLE_CILKPLUS + __attribute__ ((noreturn)) +#endif + ; void unimplimented(const int id); |