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

ios - 'super' in member access expression is ambiguous #16

Closed
GoogleCodeExporter opened this issue May 27, 2015 · 4 comments
Closed

ios - 'super' in member access expression is ambiguous #16

GoogleCodeExporter opened this issue May 27, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Installed basic awe6 project template.
2. Compiles fine on Flash / Mac
3. Get following error when compliing for ios:

./src/robotd/gui/Overlay.cpp:190:23: error: lookup of 'super' in member access 
expression is ambiguous
                                                        return __this->super::_getButton(p_type);
                                                                       ^
include/awe6/core/drivers/nme/Overlay.h:38:47: note: lookup in the object type 
'::awe6::core::drivers::nme::Overlay_obj' refers here
                typedef ::awe6::core::drivers::AOverlay_obj super;
                                                            ^
include/robotd/gui/Overlay.h:39:51: note: lookup from the current scope refers 
here
                typedef ::awe6::core::drivers::nme::Overlay_obj super;
                                                                ^


What version of the product are you using? On what operating system?
haxelib 2.10
NME 3.5.4
awe6 1.2.492
hxcpp 2.10.2



Original issue reported on code.google.com by a...@clockwork.net on 22 Jan 2013 at 8:14

@GoogleCodeExporter
Copy link
Author

Sorry forgot to comment: I'm on OS X 10.8.2

Original comment by a...@clockwork.net on 22 Jan 2013 at 10:06

@GoogleCodeExporter
Copy link
Author

Inheritance chain for _getButton for NME / cpp target is:

robotd.gui.Overlay > awe6.core.Overlay (a typedef) > 
awe6.core.drivers.nme.Overlay > awe6.core.drivers.AOverlay

There is nothing iOS specific in awe6, so if inheritance doesn't work for that 
one NME target it is best to find a minimal case and report it as an issue NME 
(where I assume there is some iOS specific code?).

I don't think there is anything we can do about it here?

Original comment by robert.f...@hypersurge.com on 23 Jan 2013 at 7:14

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

See https://groups.google.com/forum/#!topic/awe6/Nzp3fsCRRv4 for workaround.

Original comment by robert.f...@hypersurge.com on 19 Sep 2013 at 4:31

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r594.

Original comment by robert.f...@hypersurge.com on 1 Oct 2013 at 9:41

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant