--- a/src/main.h Sun Dec 22 20:46:46 2013 +0200 +++ b/src/main.h Mon Dec 23 10:57:54 2013 +0200 @@ -127,6 +127,12 @@ #define methods #define for_axes(AX) for (const Axis AX : std::initializer_list<const Axis> ({X, Y, Z})) +#ifndef IN_IDE_PARSER +#define NORETURN [noreturn] +#else +#define NORETURN +#endif + // ----------------------------------------------------------------------------- #ifdef IN_IDE_PARSER // KDevelop workarounds: # error IN_IDE_PARSER is defined (this code is only for KDevelop workarounds)