We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I looked at this CI job in a recent PR. It fails.
I tested the same configure line locally on Linux, and it too fails to build:
./configure --disable-dependency-tracking --enable-unity --enable-test-bundles --enable-werror --with-openssl --disable-verbose
CC libcurl_la-libcurl_unity.lo In file included from sendf.h:29, from altsvc.c:37, from libcurl_unity.c:2: curl_trc.h:211:9: error: "CURL_MSTATE_NAME" redefined 211 | #define CURL_MSTATE_NAME(x) ((void)(x), "-") | ^~~~~~~~~~~~~~~~ curl_trc.h:88:9: note: this is the location of the previous definition 88 | #define CURL_MSTATE_NAME(s) Curl_trc_mstate_name((int)(s)) | ^~~~~~~~~~~~~~~~ In file included from libcurl_unity.c:34: curl_trc.c:91:15: error: variable ‘Curl_trc_feat_ids’ has initializer but incomplete type 91 | static struct curl_trc_feat Curl_trc_feat_ids = { | ^~~~~~~~~~~~~ curl_trc.c:92:3: error: excess elements in struct initializer 92 | "LIB-IDS", | ^~~~~~~~~ curl_trc.c:92:3: note: (near initialization for ‘Curl_trc_feat_ids’) curl_trc.h:65:28: error: excess elements in struct initializer 65 | #define CURL_LOG_LVL_NONE 0 | ^ curl_trc.c:93:3: note: in expansion of macro ‘CURL_LOG_LVL_NONE’ 93 | CURL_LOG_LVL_NONE, | ^~~~~~~~~~~~~~~~~ curl_trc.h:65:28: note: (near initialization for ‘Curl_trc_feat_ids’) 65 | #define CURL_LOG_LVL_NONE 0 | ^ curl_trc.c:93:3: note: in expansion of macro ‘CURL_LOG_LVL_NONE’ 93 | CURL_LOG_LVL_NONE, | ^~~~~~~~~~~~~~~~~ curl_trc.c: In function ‘Curl_debug’: curl_trc.c:97:31: error: invalid use of undefined type ‘struct curl_trc_feat’ 97 | Curl_trc_feat_ids.log_level >= CURL_LOG_LVL_INFO) | ^ curl_trc.c:144:10: note: in expansion of macro ‘CURL_TRC_IDS’ 144 | if(CURL_TRC_IDS(data) && (size < TRC_LINE_MAX)) { | ^~~~~~~~~~~~ curl_trc.c:97:31: error: invalid use of undefined type ‘struct curl_trc_feat’ 97 | Curl_trc_feat_ids.log_level >= CURL_LOG_LVL_INFO) | ^ curl_trc.c:164:12: note: in expansion of macro ‘CURL_TRC_IDS’ 164 | if(CURL_TRC_IDS(data)) { | ^~~~~~~~~~~~ curl_trc.c: At top level: curl_trc.c:91:29: error: storage size of ‘Curl_trc_feat_ids’ isn’t known 91 | static struct curl_trc_feat Curl_trc_feat_ids = { | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:3543: libcurl_la-libcurl_unity.lo] Error 1 make[1]: *** [Makefile:1632: all] Error 2 make: *** [Makefile:633: all-recursive] Error 1
The build to work
current git master
Debian Linux
The text was updated successfully, but these errors were encountered:
curl_trc: fix build without CURL_DISABLE_VERBOSE_STRINGS
cf24a13
Fixes #16462
413b2a4
curl_trc: fix build with CURL_DISABLE_VERBOSE_STRINGS
e2f5bc6
Fixes curl#16462 Closes curl#16463
Successfully merging a pull request may close this issue.
I did this
I looked at this CI job in a recent PR. It fails.
I tested the same configure line locally on Linux, and it too fails to build:
./configure --disable-dependency-tracking --enable-unity --enable-test-bundles --enable-werror --with-openssl --disable-verbose
I expected the following
The build to work
curl/libcurl version
current git master
operating system
Debian Linux
The text was updated successfully, but these errors were encountered: