Date: | Tue, 25 Nov 2014 11:51:51 -0800 |
---|---|
From: | Josh Stone <jistone@xxxxxxxxxx> |
Subject: | Re: [DynInst_API:] getSourceLines error |
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. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] getSourceLines error, Nathan McKain |
---|---|
Next by Date: | [DynInst_API:] [PATCH] cmake: set IBERTY_FOUND if we're building our libiberty, Adrian Negreanu |
Previous by Thread: | [DynInst_API:] getSourceLines error, Nathan McKain |
Next by Thread: | [DynInst_API:] how much work would it be to enable binary rewrite on ARM?, Shaoyi Cheng |
Indexes: | [Date] [Thread] |