Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkpoints cannot handle overloaded names #31

Closed
alexlin0 opened this issue Mar 25, 2015 · 0 comments
Closed

Checkpoints cannot handle overloaded names #31

alexlin0 opened this issue Mar 25, 2015 · 0 comments

Comments

@alexlin0
Copy link
Contributor

If you have this

class A {
  public:
    int ii ;
} ;

class B : public A {
  public:
    int ii ;
} ;

Only B:ii will show up in the checkpoint and it will be duplicated. We need to support overloaded names.

alexlin0 added a commit that referenced this issue Mar 25, 2015
I think I ran into this before.  The offsetof calls that use
fully qualified fields in classes is not compilable using clang
on the Mac.  So I've decided to only conditionally compile this
code for non Apple platforms.  So this fix will work in Linux,
but not on Macs.  We'll have to revisit this and see if we
can make it work for both.

refers to #31
cazlo pushed a commit to cazlo/trick that referenced this issue Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant