Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-13970

ws_machine fails to build on windows.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Component/s: Build process
    • Labels:
      None

      Description

      I get the following warnings and errors compiling on windows:

      1>c:\dev\hpcc\esp\services\ws_machine\componentstatus.ipp(26) : warning C4099: 'IPropertyTree' : type name first seen using 'struct' now seen using 'class'
      1> c:\dev\hpcc\system\jlib\jptree.hpp(63) : see declaration of 'IPropertyTree'
      1>c:\dev\hpcc\esp\services\ws_machine\componentstatus.ipp(27) : warning C4099: 'IPropertyTreeIterator' : type name first seen using 'struct' now seen using 'class'
      1> c:\dev\hpcc\system\jlib\jptree.hpp(55) : see declaration of 'IPropertyTreeIterator'
      1>c:\build\generated\ws_machine.hpp(1075) : warning C4099: 'IEspStatusReport' : type name first seen using 'class' now seen using 'struct'
      1> c:\dev\hpcc\esp\services\ws_machine\componentstatus.ipp(29) : see declaration of 'IEspStatusReport'
      1>c:\build\generated\ws_machine.hpp(1116) : warning C4099: 'IConstComponentStatus' : type name first seen using 'class' now seen using 'struct'
      1> c:\dev\hpcc\esp\services\ws_machine\componentstatus.ipp(31) : see declaration of 'IConstComponentStatus'
      1>c:\build\generated\ws_machine.hpp(1132) : warning C4099: 'IEspComponentStatus' : type name first seen using 'class' now seen using 'struct'
      1> c:\dev\hpcc\esp\services\ws_machine\componentstatus.ipp(30) : see declaration of 'IEspComponentStatus'
      1>c:\dev\hpcc\esp\services\ws_machine\componentstatus.cpp(58) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
      1>c:\dev\hpcc\esp\services\ws_machine\componentstatus.cpp(91) : warning C4800: 'const char *' : forcing value to bool 'true' or 'false' (performance warning)
      1>c:\dev\hpcc\esp\services\ws_machine\componentstatus.cpp(335) : error C2491: 'getComponentStatusFactory' : definition of dllimport function not allowed

        Attachments

          Activity

            People

            Assignee:
            ghalliday Gavin Halliday
            Reporter:
            ghalliday Gavin Halliday
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: