__attribute__ error added in gcc 4.3

This commit is contained in:
Michael Davidsaver
2017-07-18 15:34:53 +02:00
parent b2ef7cd0ec
commit 158b23cfce

View File

@@ -1370,7 +1370,7 @@ private:
* These functions have been removed as a signal that the shared_ptr ownership symantics of ChannelProvider
* and friends has changed.
*/
#ifdef __GNUC__
#if __GNUC__>4 || (__GNUC__==4&&__GNUC_MINOR__>=3)
#define gCPRMSG __attribute__((error("ChannelProvider shared_ptr ownership rules have changed.")))