Skip to content

system_win32: move win32_init here from easy.c - #3625

Closed
jay wants to merge 2 commits into
curl:masterfrom
jay:move_win32_init
Closed

jay wants to merge 2 commits into
curl:masterfrom
jay:move_win32_init

Conversation

@jay

@jay jay commented Feb 28, 2019

Copy link
Copy Markdown
Member

.. since system_win32 is a more appropriate location for the functions
and to extern the globals.

Ref: ca597ad#r32446578
Reported-by: Gisle Vanem

Closes #xxxx


/cc @gvanem

.. since system_win32 is a more appropriate location for the functions
and to extern the globals.

Ref: curl@ca597ad#r32446578
Reported-by: Gisle Vanem

Closes #xxxx
@jay jay added the Windows Windows-specific label Feb 28, 2019
@bagder

bagder commented Feb 28, 2019

Copy link
Copy Markdown
Member

The codacy red can be ignored.

@MarcelRaad

Copy link
Copy Markdown
Member

I don't completely understand the Codacy failure - will it ever go away if this is merged as-is or will it stay red forever then?

The MinGW failures look legitimate, though:

system_win32.c: In function 'Curl_win32_init':
system_win32.c:85:23: error: implicit declaration of function 'Curl_sspi_global_init' [-Werror=implicit-function-declaration]
     CURLcode result = Curl_sspi_global_init();
                       ^~~~~~~~~~~~~~~~~~~~~
system_win32.c: In function 'Curl_win32_cleanup':
system_win32.c:106:3: error: implicit declaration of function 'Curl_sspi_global_cleanup' [-Werror=implicit-function-declaration]
   Curl_sspi_global_cleanup();
   ^~~~~~~~~~~~~~~~~~~~~~~~

@bagder

bagder commented Feb 28, 2019

Copy link
Copy Markdown
Member

will it ever go away if this is merged as-is or will it stay red forever then?

I think Codacy only makes red builds when it finds new issues. If you go there, you can see that it currently lists hundreds of existing issues. Most of them being benign and debatable, but some probably worthy to address.

@jay jay closed this in db374c5 Mar 2, 2019
@jay
jay deleted the move_win32_init branch March 2, 2019 06:54
@lock lock Bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

3 participants