Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-699

Potential Bug in ClrDriver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • REEF.NET
    • None

    Description

      While investigating VS 2015 for us, I got the following compiler error when using the new C++ compilers:

             "d:\src\reef\lang\cs\Org.Apache.REEF.sln" (default target) (1) ->
             "d:\src\reef\lang\cs\Org.Apache.REEF.ClrDriver\Org.Apache.REEF.ClrDriver.vcxproj" (default target) (32) ->
             (ClCompile target) ->
               Org.Apache.REEF.ClrDriver.cpp(104): error C2976: 'std::array': too few template arguments [d:\src\reef\lang\cs
             \Org.Apache.REEF.ClrDriver\Org.Apache.REEF.ClrDriver.vcxproj]
               Org.Apache.REEF.ClrDriver.cpp(104): error C3699: '^': cannot use this indirection on type 'std::array' [d:\src
             \reef\lang\cs\Org.Apache.REEF.ClrDriver\Org.Apache.REEF.ClrDriver.vcxproj]
               Org.Apache.REEF.ClrDriver.cpp(104): error C2440: 'initializing': cannot convert from 'cli::array<System::Strin
             g ^,1> ^' to 'std::array *' [d:\src\reef\lang\cs\Org.Apache.REEF.ClrDriver\Org.Apache.REEF.ClrDriver.vcxproj]
               Org.Apache.REEF.ClrDriver.cpp(105): error C2027: use of undefined type 'std::array' [d:\src\reef\lang\cs\Org.A
             pache.REEF.ClrDriver\Org.Apache.REEF.ClrDriver.vcxproj]
               Org.Apache.REEF.ClrDriver.cpp(105): error C2227: left of '->Length' must point to class/struct/union/generic t
             ype [d:\src\reef\lang\cs\Org.Apache.REEF.ClrDriver\Org.Apache.REEF.ClrDriver.vcxproj]
               Org.Apache.REEF.ClrDriver.cpp(107): error C2440: 'initializing': cannot convert from 'std::array' to 'System::
             String ^' [d:\src\reef\lang\cs\Org.Apache.REEF.ClrDriver\Org.Apache.REEF.ClrDriver.vcxproj]
      

      This seems like a genuine bug rather than a VS 2015 fluke?

      Attachments

        Issue Links

          Activity

            People

              beysims Beysim Sezgin
              markus.weimer Markus Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: