-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opusfile: Add patch to not use c89 if mingw
Fixes #1573
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0091924
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you try proposing these patches to upstream?
0091924
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can try proposing the c89 one since technically
inline
in c89 is a gnu extension, the other one is lifted off a comment from @lazka from xiph/opusfile#13 so that one will rely on if he wants to0091924
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather, the inline part is actually caused by mingw-w64's headers having inline in them, so I'm not sure how much of this is because of opusfile or actually just clang's issue
0091924
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the wincert one is because we still have libressl (which is still on a lower OpenSSL version), so it's kind of specific to the combination of opusfile+libressl.
And the other one you're not sure if it's an issue with opusfile's usage of
inline
or with mingw's usage ofinline
. So compiling with MinGW means c89 should not be used?Yeah, it's muddy.