On 11/25/2014 10:26 AM, Nathan McKain wrote:
> I am trying to use getSourceLines from BPatch_image, but the
> std::vector<BPatch_statement> object is causing my compiler to
> complain. It says that it is either an invalid use of incomplete
> type, or a forward declaration error. Is there a specific kind of
> BPatch_statement I should be specifying, or am I even more confused
> than I thought?
Did you #include <BPatch_statement.h> ? The other headers just
forward-declare this structure, but you need the full definition to be
able to create a vector, even empty.
|