summaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2026-01-15 02:41:21 +1100
committer Vas Crabb <vas@vastheman.com>2026-01-15 02:41:21 +1100
commit01bce4b5b731c66bd327557446ad55b2becfa74a (patch)
tree201a7b408807edbaaba238bbc84c4f629b52dba4 /docs
parent8451c206b88ae3de75751b5d981fed4ca7d5eed2 (diff)
-windows/winmain.cpp: Set global C++ locale when the standard library isn't broken.
* GNU libstdc++ only provides a useless stub locale implementation when using anything other than the glibc standard C library. However, llvm libc++ provides a locale implementation that works fine with UCRT. -dynax/royalmah.cpp: Filled in Mahjong Raijinhai DIP switches from available manual pages. -docs: added note about MinGW clang/llvm issues with CodeView/PDB symbols at high detail levels.
Diffstat (limited to 'docs')
-rw-r--r--docs/source/initialsetup/compilingmame.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/source/initialsetup/compilingmame.rst b/docs/source/initialsetup/compilingmame.rst
index 1dc59b8a6df..3473ba6e100 100644
--- a/docs/source/initialsetup/compilingmame.rst
+++ b/docs/source/initialsetup/compilingmame.rst
@@ -782,6 +782,16 @@ around it by adding **-U_FORTIFY_SOURCE** to the compiler flags (e.g. by using
the **ARCHOPTS** setting, or setting the **CFLAGS** and **CXXFLAGS** environment
variables.
+Issues affecting MinGW clang
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+MinGW clang and llvm can give spurious undefined symbol errors when linking
+using CodeView format symbols with high symbol detail levels. If you encounter
+undefined symbol errors when linking with **PDB_SYMBOLS=1** to produce CodeView
+format symbols, try setting **SYMLEVEL=1** to reduce the symbol detail level
+(line number tables will still be included, but local variables will be
+omitted).
+
Issues affecting Microsoft Visual Studio
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~