Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-37

ExhaustedAction.CREATE_NEW conflict with macro in fileapi.h on windows

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Alpha1
    • None
    • None
    • None

      The build fails on windows due to a conflict between ExhaustedAction enum value CREATE_NEW and the macro with the same name from fileapi.h

      e:\cpp-client\src\hotrod\impl\configuration\ConnectionPoolConfiguration.h(9):
      error C2059: syntax error : 'constant' [E:\cpp-client\build\hotrod.vcxproj]
      e:\cpp-client\src\hotrod\impl\configuration\ConnectionPoolConfiguration.h(9):
      error C3805: 'constant': unexpected token, expected either '}' or a ',' [E:\cp
      p-client\build\hotrod.vcxproj]

            ttarrant@redhat.com Tristan Tarrant
            isavin_jira Ion Savin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: