aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/python_bytecompile.md
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2023-04-21 23:39:27 +0100
committerEli Schwartz <eschwartz93@gmail.com>2023-05-05 12:23:52 -0400
commite4f6eeb7d77db7938588e5dd758c73291b40e4ee (patch)
tree5b487b415f9638174a2a16b305b5f7848a173791 /docs/markdown/snippets/python_bytecompile.md
parent9fe1efe357dcdb3c0c18e84f6ac27948271f1c53 (diff)
downloadmeson-e4f6eeb7d77db7938588e5dd758c73291b40e4ee.zip
meson-e4f6eeb7d77db7938588e5dd758c73291b40e4ee.tar.gz
meson-e4f6eeb7d77db7938588e5dd758c73291b40e4ee.tar.bz2
Python module: emit warning for debug buildtypes with MSVC and no debug Python
CPython adds a hard to avoid hardcoded link flag to look for a debug libpython. This results in a very puzzling error, so emit a warning with a clear message. Note that pybind11 has a workaround for this, which undefines `_DEBUG`. So users who use only pybind11 can use non-release buildtypes, but they won't get debug symbols on Windows unless they have a debug build.
Diffstat (limited to 'docs/markdown/snippets/python_bytecompile.md')
0 files changed, 0 insertions, 0 deletions