Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2027 Support the Windows OS
  3. DISPATCH-2278

Get Dispatch to compile on Windows; CMakeLists.txt changes are needed

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      • Investigate compiler warnings; for some reason Visual Studio version of Clang needs plenty of new warning suppressions, compared to stock Clang
        • -Wno-old-style-cast -Wno-zero-as-null-pointer-constant -Wno-extra-semi -Wno-global-constructors -Wno-exit-time-destructors -Wno-c+98-compat -Wno-c98-compat-pedantic -Wno-unreachable-code-return -Wno-missing-noreturn -Wno-macro-redefined -Wno-c+-compat -Wno-vla -Wno-gnu-empty-struct -Wno-incompatible-pointer-types-discards-qualifiers -Wno-unused-value -Wno-unused-function -Wno-extra-semi-stmt -Wno-implicit-fallthrough -Wno-covered-switch-default -Wno-bad-function-cast -Wno-int-to-pointer-cast -Wno-int-to-void-pointer-cast -Wno-undef -Wno-double-promotion -Wno-incompatible-library-redeclaration -Wno-implicit-int-conversion -Wno-format-nonliteral -Wno-tautological-unsigned-zero-compare -Wno-unused-variable -Wno-cast-align -Wno-visibility -Wno-unused-macros -Wno-shadow -Wno-switch-enum -Wno-missing-variable-declarations -Wno-implicit-function-declaration -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-atomic-implicit-seq-cst -Wno-deprecated-declarations -Wno-nonportable-system-include-path -Wno-cast-qual -Wno-documentation -Wno-unreachable-code-break -Wno-conditional-uninitialized -Wno-missing-prototypes -Wno-reserved-id-macro -Wno-language-extension-token -Wno-documentation-unknown-command -Wno-strict-prototypes
      • Copy Proton DLLs to the directory where the Dispatch binaries are. Windows does not have RPath. There seem to be solutions in CMake for this https://ibob.bg/blog/2018/12/16/windows-rpath/
      • Tests have to be able to discover qdrouterd and to run qdstat and qdmanage. Multiconfig project generators add one unexpected extra directory to output paths.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: