Created
August 9, 2014 18:29
-
-
Save dpogue/60516fc0909bb3ef3428 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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. |
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
After moving the fRef declaration to the top of the class (above the public section), I get these different errors: