FAudio.h:723: error: wrong number of arguments specified for ‘deprecated’ attribute #321
Labels
No labels
Bug
Extensions
New Feature
Not our bug - SDL2
Not our bug - WMA
Utilities
Wine
X3DAudio Accuracy
XACT Accuracy
XAudio2 Accuracy
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-FNA-XNA/FAudio#321
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is it still supposed to compile with C99? Fails for me:
At least with the compilers I use it's okay, but that's a pretty short list... here's the macro for marking deprecated functions:
https://github.com/FNA-XNA/FAudio/blob/master/include/FAudio.h#L38-L42
@flibitijibibo It builds fine with a new GCC, I was just unsure if the standard should be increased to C11 or simply old Apple gcc-4.2 cannot build it anymore. For now, I just blacklisted gcc-4.2, that fixed the problem:
github.com/macports/macports-ports@e6c9d718f1Took a super quick glance at this and I can only guess that the deprecated attribute didn't have a parameter at first, but I can't exactly tell when it was added... even if the version is super old I'd be happy to accept a patch that uses the deprecated attribute without the message parameter if we can figure out how to check for the right support.