I get this error when i try to build my project that uses tensorflow 
libraries.My code is in c++11 and the environment is windows 10.

I built tensorflow from source,i also built protobuf v3.6.1.2 from source.I 
also tried installing protobuf using vcpkg but i still gets the same error.

This is the error iam getting mocs_compilation.cpp 

*C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/arena.h(692): 
error C3857: 'Map': multiple template parameter lists are not allowed*
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(359):
 
warning C4127: conditional expression is constant
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(359):
 
note: consider using 'if constexpr' statement instead
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(366):
 
warning C4127: conditional expression is constant
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(366):
 
note: consider using 'if constexpr' statement instead
c:\libs\vcpkg\installed\x64-windows\include\unsupported\eigen\cxx11\src/Tensor/Tensor.h(76):
 
warning C4554: '&': check operator precedence for possible error; use 
parentheses to clarify precedence
c:\libs\vcpkg\installed\x64-windows\include\unsupported\eigen\cxx11\src/Tensor/TensorMap.h(33):
 
note: see reference to class template instantiation 'Eigen::Tensor' being 
compiled


What could be the problem?Or where is the different version of protobuf 
installed?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/8bd8184a-ebc0-49b3-a7de-c98dd610264f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to