Skip to content

Instantly share code, notes, and snippets.

@dpogue
Created August 9, 2014 18:29
Show Gist options
  • Save dpogue/60516fc0909bb3ef3428 to your computer and use it in GitHub Desktop.
Save dpogue/60516fc0909bb3ef3428 to your computer and use it in GitHub Desktop.
/home/dpogue/Coding/Plasma/Sources/Plasma/PubUtilLib/plUnifiedTime/../../CoreLib/hsRefCnt.h:86:24: error: use of undeclared identifier 'fObj'
hsRef(nullptr_t) : fObj(nullptr) { }
^
/home/dpogue/Coding/Plasma/Sources/Plasma/PubUtilLib/plUnifiedTime/../../CoreLib/hsRefCnt.h:85:15: error: member initializer 'fObj' does not name a non-static data
member or base class
hsRef() : fObj(nullptr) { }
^~~~~~~~~~~~~
2 errors generated.
@dpogue
Copy link
Author

dpogue commented Aug 9, 2014

Adding #include <cstddef> makes it compile under GCC 4.9.1, but still not clang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment