reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <>
Subject [jira] [Created] (REEF-1909) Broken master: Compilation errors in VSC++ 2013 and 2015
Date Thu, 19 Oct 2017 18:53:00 GMT
Sergiy Matusevych created REEF-1909:

             Summary: Broken master: Compilation errors in VSC++ 2013 and 2015
                 Key: REEF-1909
             Project: REEF
          Issue Type: Bug
          Components: REEF Bridge
            Reporter: Sergiy Matusevych
            Assignee: Julia

Our current master branch fails to compile with Visual Studio 2013 and 2015, giving the following
       "C:\projects\reef\lang\cs\Org.Apache.REEF.sln" (default target) (1) ->
(default target) (24) ->
       "C:\projects\reef\lang\cs\Org.Apache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj" (default
target) (25) ->
       (ClCompile target) -> 
         InteropUtil.cpp(138): error C2146: syntax error : missing ';' before identifier 'JNIEnv'
         InteropUtil.cpp(138): error C4430: missing type specifier - int assumed. Note: C++
does not support default-int [C:\projects\reef\lang\cs\Org.Apache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj]
(e.g. see AppVeyor logs [here|])

It looks like the earlier versions of VS (managed) C++ do not support {{thread_local}} keyword.
We need to fix the code to make sure it compiles on all supported versions of Visual Studio.

The issue was likely introduced in [REEF-1895] (github pull request [#1385|]).

This message was sent by Atlassian JIRA

View raw message