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

tests/server/util: remove in6addr_any for recent MinGW #1379

Merged
merged 1 commit into from
Apr 3, 2017

Commits on Apr 3, 2017

  1. tests/server/util: remove in6addr_any for recent MinGW

    In ancient MinGW versions, in6addr_any was declared as extern, but not
    defined. Because of that, 22a0c57 added
    definitions for in6addr_any when compiling with MinGW. The bug was fixed in
    w32api version 3.6 from 2006, so this workaround is not needed anymore for
    recent versions.
    
    This fixes the following MinGW-w64 warnings because the MinGW-w64 version of
    IN6ADDR_ANY_INIT has the two additional braces inside the macro:
    util.c:59:14: warning: braces around scalar initializer
    util.c:59:40: warning: excess elements in scalar initializer
    
    Ref: https://sourceforge.net/p/mingw/mingw-org-wsl/ci/e4803e0da25c57ae1ad0fa75ae2b7182ff7fa339/tree/w32api/ChangeLog
    Closes curl#1379
    MarcelRaad committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    55f4aba View commit details
    Browse the repository at this point in the history