Commit fa0bc966 authored by Christian Stenger's avatar Christian Stenger
Browse files

CMB: Fix compile on OSX



Change-Id: Iad4ac96233f46d9f76894ab06f8ee55530c1e739
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent b29f69b9
...@@ -46,7 +46,7 @@ public: ...@@ -46,7 +46,7 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8) # if !__GNUC_PREREQ(4,8)
~ProjectPartDoNotExistException() noexcept {} ~ProjectPartDoNotExistException() noexcept {}
# endif # endif
......
...@@ -45,7 +45,7 @@ public: ...@@ -45,7 +45,7 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8) # if !__GNUC_PREREQ(4,8)
~TranslationUnitDoesNotExistException() noexcept {} ~TranslationUnitDoesNotExistException() noexcept {}
# endif # endif
......
...@@ -46,7 +46,7 @@ public: ...@@ -46,7 +46,7 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8) # if !__GNUC_PREREQ(4,8)
~TranslationUnitFileNotExitsException() noexcept {} ~TranslationUnitFileNotExitsException() noexcept {}
# endif # endif
......
...@@ -42,7 +42,7 @@ class TranslationUnitIsNullException : public std::exception ...@@ -42,7 +42,7 @@ class TranslationUnitIsNullException : public std::exception
public: public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8) # if !__GNUC_PREREQ(4,8)
~TranslationUnitIsNullException() noexcept {} ~TranslationUnitIsNullException() noexcept {}
# endif # endif
......
...@@ -47,7 +47,7 @@ public: ...@@ -47,7 +47,7 @@ public:
const char *what() const Q_DECL_NOEXCEPT override; const char *what() const Q_DECL_NOEXCEPT override;
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__clang__)
# if !__GNUC_PREREQ(4,8) # if !__GNUC_PREREQ(4,8)
~TranslationUnitParseErrorException() noexcept {} ~TranslationUnitParseErrorException() noexcept {}
# endif # endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment