-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only use noexcept in public headers on >= C++11 (#1071)
This resolves issues consuming openal-soft in projects that don't explicitly specify a C++ standard of C++11 or newer. This also handles the fact that __cplusplus is not set properly in MSVC (always claiming to be 199711L) which prevented both the C++11 noexcept and the C++17 noexcept annotations from taking effect.
- Loading branch information
Showing
2 changed files
with
26 additions
and
2 deletions.
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
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