Skip to content

vfs_directory: try to fix compilation on gcc 14.1#15579

Merged
Megamouse merged 1 commit into
RPCS3:masterfrom
Megamouse:ztukzuoi
May 11, 2024
Merged

vfs_directory: try to fix compilation on gcc 14.1#15579
Megamouse merged 1 commit into
RPCS3:masterfrom
Megamouse:ztukzuoi

Conversation

@Megamouse
Copy link
Copy Markdown
Contributor

New gcc seems to have an issue with the vfs_directory struct:
error: static assertion failed: template argument must be a complete class or an unbounded array

Use unique_ptr and a map instead of the existing vector construct.

maybe fixes #15577

@Megamouse Megamouse added the Refactoring Refactors or simplifies existing code label May 11, 2024
Comment thread rpcs3/Emu/VFS.cpp Outdated
@Megamouse Megamouse merged commit 5fb6be4 into RPCS3:master May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactoring Refactors or simplifies existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does not compile on Arch Linux with GCC 14.1

2 participants