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

arrow, tag_ret, obj_Ygush00, kytag06, nh: all OK #499

Merged
merged 3 commits into from
Oct 1, 2023

Conversation

LagoLunatic
Copy link
Collaborator

I switched arrow, tag_ret, and ygush to use the -sym off compiler flag. This might not be exactly what the original developers did but I think it's worth doing temporarily for the sake of making them match until someone figures out what MWCC is doing with implicit destructors.

@@ -414,7 +414,7 @@ def DolphinLib(lib_name, objects):
Object(NonMatching, "d/d_snap.cpp"),
Object(Matching, "d/d_point_wind.cpp"),
Object(NonMatching, "d/actor/d_a_agb.cpp"),
Object(NonMatching, "d/actor/d_a_arrow.cpp"),
Object(Matching, "d/actor/d_a_arrow.cpp", cflags=[*cflags_framework, "-sym off"]),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should just be -sym off, right? cflags_rel already includes cflags_framework

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arrow isn't it a rel, it's an actor in main.dol.
If I do cflags=["-sym off"] it won't compile at all, it seems to replace all the flags with just "-sym off", instead of adding them.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah. we can fix that I suppose, but for now

@magcius magcius merged commit bd247a6 into zeldaret:main Oct 1, 2023
@LagoLunatic LagoLunatic deleted the arrow branch October 1, 2023 22:03
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

Successfully merging this pull request may close these issues.

2 participants