Skip to content

Some more bugfixes, documentation, and annotations#203

Merged
Minty-Meeo merged 10 commits into
projectPiki:mainfrom
Minty-Meeo:develop
Jun 26, 2026
Merged

Some more bugfixes, documentation, and annotations#203
Minty-Meeo merged 10 commits into
projectPiki:mainfrom
Minty-Meeo:develop

Conversation

@Minty-Meeo

Copy link
Copy Markdown
Collaborator

From my downstream CMake port.

@decomp-dev

decomp-dev Bot commented Jun 26, 2026

Copy link
Copy Markdown

Report for DPIJ01_PIKIDEMO (ffb7fb6 - 8152e99)

No changes

Report for GPIJ01_01 (ffb7fb6 - 8152e99)

No changes

Report for GPIP01_00 (ffb7fb6 - 8152e99)

No changes

Report for GPIE01_00 (ffb7fb6 - 8152e99)

No changes

Report for G98E01_PIKIDEMO (ffb7fb6 - 8152e99)

No changes

Report for G98P01_PIKIDEMO (ffb7fb6 - 8152e99)

No changes

Report for GPIJ01_02 (ffb7fb6 - 8152e99)

No changes

Report for GPIE01_01 (ffb7fb6 - 8152e99)

No changes

Thank you Dolphin Emulator
This is typical in other files, and even required in one place for an assertion to compile.
This is atypical for POD structs from Dolphin OS.
This was not legal C++ and messes up GCC.
This macro documents 117 places where damn well nearly every programmer on the staff (but mostly Nakata) wrote illegal C++ code because MetroWerks allows it.  Taking the address of an rvalue requires the `-fpermissive` flag in GCC and breaks when optimizations are enabled, so of course it has been affecting my GCC port using CMake.  I have left it up to the user to decide how one wishes to address this issue.  I have personally found that a combination of placement new and `__builtin_alloca` work great.

Most of the places that I added an include for "sysNew.h" already had indirect access to it, I simply made it explicit to ensure this new addition was stable.  I might have put this macro in "types.h" if I wasn't planning on using placement new in my downstream fork as a replacement for this.
@Minty-Meeo Minty-Meeo merged commit df2140d into projectPiki:main Jun 26, 2026
8 checks 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.

1 participant