Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104710

Windows: Enum naming QHttpServerRequest::DELETE clashes with winnt.h define of the same name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.4.0 RC1, 6.4
    • 6.4.0 Beta2
    • Qt Http Server
    • None
    • Windows
    • 0e2bf9e7bf9cd377ecf5b59021b0f653035b7e6e 9c69255f07e841d2b3eb8cb941aa8307ec1ae8ef
    • Foundation Sprint 62

      winnt.h:23045: has a define:

      #define DELETE                           (0x00010000L)
      

      which clashes with QHttpServerRequest::DELETE when windows.h is included.

      See "Accept a string as request method in QHttpServer::route()" https://codereview.qt-project.org/c/qt/qthttpserver/+/255546

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            kleint Friedemann Kleint
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes