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

Update SDL2 and Assimp to fix compiler errors with newest MinGW-w64 #2699

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

markellus
Copy link
Contributor

The currently used versions of SDL2 and Assimp do not compile with the newest version of MinGW-w64 (GCC 12.2+) from MSYS2. The issues where fixed in SDL2 2.24.1 and Assimp 5.2.5.

SDL2 issue:
libsdl-org/SDL#5728
libsdl-org/SDL@d2c4d74

I can't find a ticket for Assimp but i get a lot of these errors, which disappear after updating to 5.2.5:
ingw64/include/c++/12.2.0/bits/new_allocator.h:175:11: error: array subscript 'const aiVector3t<float>[1]' is partly outside array bounds of 'std::__cxx11::list<aiVector3t<float> > [1]' [-Werror=array-bounds] 175 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }

@markellus markellus changed the title Update SDL2 and Assimp to fix compiler erros with newest MinGW-w64 Update SDL2 and Assimp to fix compiler errors with newest MinGW-w64 Dec 21, 2022
@paroj
Copy link
Member

paroj commented Dec 21, 2022

👍 thanks

@paroj paroj merged commit 0ce1a19 into OGRECave:master Dec 21, 2022
@markellus markellus deleted the patch-mingw branch December 27, 2022 15:51
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.

None yet

2 participants