Skip to content
New issue

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

Visual Studio says: 'Curl_easyopts_check' undefined #5877

Closed
bagder opened this issue Aug 28, 2020 · 0 comments
Closed

Visual Studio says: 'Curl_easyopts_check' undefined #5877

bagder opened this issue Aug 28, 2020 · 0 comments
Labels
build Windows Windows-specific

Comments

@bagder
Copy link
Member

bagder commented Aug 28, 2020

I did this

Check the AppVeyor builds since 6ebe63f landed. Example.

lib\easygetopt.c(33): warning C4013: 'Curl_easyopts_check' undefined; assuming extern returning int 

The Curl_easyopts_check is a debug-only function that is present in easyoptions.c and the prototype is declared in easyoptions.h:

#ifdef CURLDEBUG
int Curl_easyopts_check(void);
#endif

I'm puzzled why this error is triggered!

I expected the following

Error-free build

curl/libcurl version

git master

operating system

Windows

@bagder bagder added build Windows Windows-specific labels Aug 28, 2020
bagder added a commit that referenced this issue Aug 28, 2020
... not CURLDEBUG as they're not always set in conjunction.

Fixes #5877
@bagder bagder closed this as completed in 6e18568 Aug 28, 2020
bagder added a commit that referenced this issue Sep 1, 2020
bagder added a commit that referenced this issue Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Windows Windows-specific
Development

Successfully merging a pull request may close this issue.

1 participant