Skip to content

Commit

Permalink
[Doc] libopenmpt: Document C++23 support.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22814 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Jan 6, 2025
1 parent a4574e8 commit 2f7291a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions doc/libopenmpt/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ Dependencies
**MinGW-W64 13.0 (win32 threading model)**
* **emscripten 3.1.1** or higher
* **DJGPP GCC 7.1** or higher
* any other **C++20 or C++17 compliant** compiler
* any other **C++23, C++20, or C++17 compliant** compiler

libopenmpt makes the following assumptions about the C++ implementation
used for building:
* `std::numeric_limits<unsigned char>::digits == 8` (enforced by
static_assert)
* existence of `std::uintptr_t` (enforced by static_assert)
* in C++20 mode, `std::endian::little != std::endian::big` (enforced
by static_assert)
* in C++23/C++20 mode, `std::endian::little != std::endian::big`
(enforced by static_assert)
* `wchar_t` encoding is either UTF-16 or UTF-32 (implicitly assumed)
* representation of basic source character set is ASCII (implicitly
assumed)
Expand All @@ -61,11 +61,11 @@ Dependencies
Emscripten when running in `AudioWorkletProcessor` context)

* Required compilers to use libopenmpt:
* Any **C89** / **C99** / **C11** / **C17** compatible compiler should
work with the C API as long as a **C99** compatible **stdint.h** is
available.
* Any **C++20** or **C++17** compatible compiler should work with the C++
API.
* Any **C89** / **C99** / **C11** / **C17** / **C23** compatible compiler
should work with the C API as long as a **C99** compatible **stdint.h**
is available.
* Any **C++23**, **C++20**, or **C++17** compatible compiler should work
with the C++ API.
* **J2B** support requires an inflate (deflate decompression) implementation:
* **zlib** (or **miniz** can be used internally)
* **MO3** support requires:
Expand Down
2 changes: 1 addition & 1 deletion doc/libopenmpt/gettingstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ only required information is listed below. We currently only support building
libopenmpt itself this way, but the test suite and openmpt123 may follow later.

- language:
- C++17 / C++20
- C++17 / C++20 / C++23

- defines:
- LIBOPENMPT_BUILD
Expand Down

0 comments on commit 2f7291a

Please sign in to comment.