[libpopt] Suppress implicit-function-declaration (#42662)

This commit is contained in:
WangWeiLin-MV 2024-12-13 15:13:20 +00:00 committed by GitHub
parent 294804f387
commit 3a7e5f1160
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 2 deletions

View File

@ -52,6 +52,8 @@ include_directories(${CMAKE_BINARY_DIR})
add_library(popt ${SOURCES})
if (MSVC)
target_compile_options(popt PRIVATE /wd4996)
else()
target_compile_options(popt PRIVATE -Wno-error=implicit-function-declaration)
endif()
install(TARGETS popt

View File

@ -1,7 +1,7 @@
{
"name": "libpopt",
"version": "1.16",
"port-version": 17,
"port-version": 18,
"description": "Library for parsing command line parameters",
"dependencies": [
{

View File

@ -4986,7 +4986,7 @@
},
"libpopt": {
"baseline": "1.16",
"port-version": 17
"port-version": 18
},
"libpq": {
"baseline": "16.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a2e2e626497005de88c4a6b1f8a1ff327386f271",
"version": "1.16",
"port-version": 18
},
{
"git-tree": "2f73cf4ebdadeac639e83a83e2acc8766ed597c3",
"version": "1.16",