You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/08/30 19:22:45 UTC

[jira] [Created] (REEF-699) Potential Bug in ClrDriver

Markus Weimer created REEF-699:
----------------------------------

             Summary: Potential Bug in ClrDriver
                 Key: REEF-699
                 URL: https://issues.apache.org/jira/browse/REEF-699
             Project: REEF
          Issue Type: Bug
            Reporter: Markus Weimer


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

{noformat}
       "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]
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)