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

Unbreak gcc builds #2493

Merged
merged 1 commit into from
Mar 2, 2025
Merged

Unbreak gcc builds #2493

merged 1 commit into from
Mar 2, 2025

Conversation

Thar0
Copy link
Contributor

@Thar0 Thar0 commented Mar 1, 2025

No description provided.


#include "global.h"
#include "libc64/sleep.h"
#include "libc64/sprintf.h"
#include "alloca.h"
#include "controller.h"
#include "padmgr.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

is this for a missing declaration? why was it not caught by CC_CHECK?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah it's for PadMgr_RequestPadData, it wasn't caught since CC_CHECK doesn't define AVOID_UB and we have a wrong prototype defined when AVOID_UB is not defined

Copy link
Contributor

Choose a reason for hiding this comment

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

I see, apparently MM defines AVOID_UB for CC_CHECK, maybe we should do the same to get more coverage here

Copy link
Collaborator

@Dragorn421 Dragorn421 left a comment

Choose a reason for hiding this comment

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

Alternate PR title: "Unbreak modern gcc builds of ique versions" ?

@Thar0
Copy link
Contributor Author

Thar0 commented Mar 1, 2025

This unbreaks any modern gcc builds that include fault_gc.c

@fig02 fig02 merged commit db90c9f into zeldaret:main Mar 2, 2025
1 check passed
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.

4 participants