Commit d1680bd
committed
fix: rename VERSION to .version to avoid C++ header conflict
On macOS's case-insensitive filesystem, the VERSION file conflicts with
the C++ standard library header <version> (C++20). When the compiler
tries to #include <version>, it picks up our VERSION file instead,
causing compilation errors.
Solution: Rename VERSION to .version (hidden file with dot prefix)
Updated:
- CMakeLists.txt: Read from .version instead of VERSION
- update_versions.py: Write to .version
- release-please.yml: Upload .version as asset
- release-please-config.json: Track .version in extra-files
This is a known issue on case-insensitive filesystems:
llvm/llvm-project#512141 parent aac9475 commit d1680bd
File tree
339 files changed
+89576
-10
lines changed- .github/workflows
- local_install
- include/pybind11
- detail
- eigen
- stl
- pybind11-2.11.1
- .github
- ISSUE_TEMPLATE
- matchers
- workflows
- docs
- _static/css
- advanced
- cast
- pycpp
- cmake
- include/pybind11
- detail
- eigen
- stl
- pybind11
- tests
- extra_python_package
- extra_setuptools
- test_cmake_build
- installed_embed
- installed_function
- installed_target
- subdirectory_embed
- subdirectory_function
- subdirectory_target
- test_embed
- tools
- scripts
- src/filepattern
- cpp
- test_build
- CMakeFiles
- 3.25.1
- CompilerIdCXX
- CompilerIdC
- filepattern.dir
- include
- packaging
- CMakeFiles
- Export/277ec7bc4073629d29b1a4bb8ec4e3ae
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
339 files changed
+89576
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
File renamed without changes.
0 commit comments