Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-4529

Compilation errors from CLang (Apple LLVM 7.0) in XCode 7 on MacOSX

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None

      Description

      Compiling on MacOSX Yosemite with XCode 7, a number of files fail compilation.


      core/modules/util/EventThread.h,cc fails because uint is used as a data type. This is non-standard (though some compilers support it), and should be replaced with unsigned int.


      core/modules/wbase/SendChannel.h,cc fails because #include <functional> is missing.


      core/modules/wsched/ChunkState.cc fails because #include <iostream> is missing.


      build/qmeta/qmetaLib_wrap.cc (generated by SWIG) fails with many errors because the typedef unsigned long int uint64_t included in qmetaLib.i conflicts with MacOSX's typedef of it as unsigned long long.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  fritzm Fritz Mueller
                  Reviewers:
                  Andy Salnikov, Tim Jenness
                  Watchers:
                  Andy Salnikov, Mike Kelsey [X] (Inactive), Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel