Menu

#2050 Missing definition of FILE_FLAG_FIRST_PIPE_INSTANCE

WSL
closed
4.0.3 (1)
Bug
fixed
Feature_in_WSL_4.0
False
2013-10-06
2013-09-17
Vadim
No

Can't build libuv on mingw 4.0 (gcc 4.8.1):

src/win/pipe.c: In function 'uv_stdio_pipe_server':
src/win/pipe.c:171:39: error: 'FILE_FLAG_FIRST_PIPE_INSTANCE' undeclared (first use in this function)
access | FILE_FLAG_OVERLAPPED | FILE_FLAG_FIRST_PIPE_INSTANCE,

FILE_FLAG_FIRST_PIPE_INSTANCE is declared in winbase.h, but conditioned on #if (NTDDK_VERSION >= NTDDI_WIN2KSP2).
NTDDK_VERSION is not defined at that point, and, in fact, does not appear anywhere else in mingw system headers. Probably a misspelling of NTDDI_VERSION ?

Discussion

  • Earnie Boyd

    Earnie Boyd - 2013-09-18
    • assigned_to: Earnie Boyd
     
  • Earnie Boyd

    Earnie Boyd - 2013-09-18

    Thanks.

     
  • Earnie Boyd

    Earnie Boyd - 2013-09-18
    • labels: --> 4.0.3
    • status: unread --> assigned
    • Type: Support --> Bug
    • Category: Unknown --> Feature_in_WSL_4.0
     
  • Earnie Boyd

    Earnie Boyd - 2013-09-18

    I'll upload a 4.0.3 to fix the typo sometime this weekend. I'm on the road and the motel vpn is slow and unreliable to be uploading the files or I would do it today.

     
  • Earnie Boyd

    Earnie Boyd - 2013-09-18
    • status: assigned --> pending
    • Resolution: none --> fixed
     
  • Earnie Boyd

    Earnie Boyd - 2013-09-18

    This is resolved in the repository. It is pending an upload of 4.0.3.

     
  • Earnie Boyd

    Earnie Boyd - 2013-10-06
    • status: pending --> closed