EEdward Thomsonpcre: avoid false positive dangling pointer warning
| Files | Last commit | Last update |
|---|---|---|
llhttp: use c-style comments | 2 years ago | |
cmake: case insensitive options It's hard to remember whether it's -DUSE_HTTPS=mbedTLS or -DUSE_HTTPS=mbedtls. Even worse for things like builtin which we may have been inconsistent about. Allow for case insensitive options. | 1 year ago | |
pcre: avoid false positive dangling pointer warning PCRE sets the contents of an external structure to a local pointer temporarily. gcc warns about this. Silence that dangling pointer warning. | 9 months ago | |
cmake: use PROJECT_SOURCE_DIR of CMAKE_SOURCE_DIR Also applies to *_BINARY_DIR. This effectively reverts 84083dcc8bd41332ccac9d7b537f3e254d79011c, which broke all users of libgit2 that use it as a CMake subdirectory (via add_subdirectory()). This is because CMAKE_SOURCE_DIR refers to the root-most CMake directory, which in the case of add_subdirectory() is a parent project to libgit2 and thus the paths don't make any sense to the configuration files. Corollary, CMAKE_SOURCE_DIR only makes sense if the CMake project is always the root project - which can rarely be guaranteed. In all honesty, CMake should deprecate and eventually remove CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR. It's been the source of headaches and confusion for years, they're rarely useful over CMAKE_CURRENT_(SOURCE|BINARY)_DIR or PROJECT_(SOURCE|BINARY)_DIR, and they cause a lot of confusing configuration and source code layouts to boot. Any time they are used, they break add_subdirectory() almost 100% of the time, cause confusing error messages, and hide subtle bugs. | 4 years ago | |
xdiff: use proper free function | 2 years ago | |
zlib: update bundled zlib to v1.3.1 | 2 years ago |