summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h11
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);