On 04/10/2014 02:09 AM, Sergej Proskurin wrote:
> Error message: "static Dyninst::PatchAPI::Snippet::Ptr
> Dyninst::PatchAPI::Snippet::create(Dyninst::PatchAPI::Snippet*)’ is
> inaccessible within this context"

Inherited classes are private by default, even if everything in that
class is public.  So calling MySnippet::create is private even though
the actual Snippet::create is public.

> class MySnippet : Snippet {

Make this:

  class MySnippet : public Snippet {


HTH,
Josh
_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to