Skip to content

Instantly share code, notes, and snippets.

@alex85k
Created September 19, 2014 13:51
Show Gist options
  • Save alex85k/3be875b74924e8643140 to your computer and use it in GitHub Desktop.
Save alex85k/3be875b74924e8643140 to your computer and use it in GitHub Desktop.
protobuf-c on VS2010
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
============= MSVC2010-32 -- Debug --- d:\libs16d --- ==============
Cloning into 'protobuf-c'...
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
C:/build10/protobuf-c
-- Found PROTOBUF: d:/libs16d/lib/protobuf.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/build10/protobuf-c/build-cmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
[ 3%] Generating t/test-full.pb.cc, t/test-full.pb.h
Scanning dependencies of target cxx-generate-packed-data
[ 7%] Building CXX object CMakeFiles/cxx-generate-packed-data.dir/C_/build10/protobuf-c/t/generated-code2/cxx-generate-packed-data.cc.obj
cxx-generate-packed-data.cc
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2227) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2212) : see declaration of 'std::_Copy_impl'
d:\libs16d\include\google/protobuf/repeated_field.h(842) : see reference to function template instantiation '_OutIt std::copy<const Element[],Element[]>(_InIt,_InIt,_OutIt)' being compiled
with
[
_OutIt=google::protobuf::int64 [],
Element=google::protobuf::int64,
_InIt=const google::protobuf::int64 []
]
d:\libs16d\include\google/protobuf/repeated_field.h(841) : while compiling class template member function 'void google::protobuf::internal::ElementCopier<Element>::operator ()(Element [],const Element [],int)'
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(834) : see reference to class template instantiation 'google::protobuf::internal::ElementCopier<Element>' being compiled
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(833) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::CopyArray(Element [],const Element [],int)'
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(827) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::MoveArray(Element [],Element [],int)'
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(806) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::Reserve(int)'
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(631) : while compiling class template member function 'int google::protobuf::RepeatedField<Element>::size(void) const'
with
[
Element=google::protobuf::int64
]
C:\build10\protobuf-c\build-cmake\t/test-full.pb.h(1387) : see reference to class template instantiation 'google::protobuf::RepeatedField<Element>' being compiled
with
[
Element=google::protobuf::int64
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2227) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2212) : see declaration of 'std::_Copy_impl'
d:\libs16d\include\google/protobuf/repeated_field.h(842) : see reference to function template instantiation '_OutIt std::copy<const Element[],Element[]>(_InIt,_InIt,_OutIt)' being compiled
with
[
_OutIt=google::protobuf::uint64 [],
Element=google::protobuf::uint64,
_InIt=const google::protobuf::uint64 []
]
d:\libs16d\include\google/protobuf/repeated_field.h(841) : while compiling class template member function 'void google::protobuf::internal::ElementCopier<Element>::operator ()(Element [],const Element [],int)'
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(834) : see reference to class template instantiation 'google::protobuf::internal::ElementCopier<Element>' being compiled
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(833) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::CopyArray(Element [],const Element [],int)'
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(827) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::MoveArray(Element [],Element [],int)'
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(806) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::Reserve(int)'
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(631) : while compiling class template member function 'int google::protobuf::RepeatedField<Element>::size(void) const'
with
[
Element=google::protobuf::uint64
]
C:\build10\protobuf-c\build-cmake\t/test-full.pb.h(1392) : see reference to class template instantiation 'google::protobuf::RepeatedField<Element>' being compiled
with
[
Element=google::protobuf::uint64
]
[ 11%] Building CXX object CMakeFiles/cxx-generate-packed-data.dir/t/test-full.pb.cc.obj
test-full.pb.cc
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(393) : warning C4018: '<' : signed/unsigned mismatch
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(413) : see reference to function template instantiation 'bool google::protobuf::internal::WireFormatLite::ReadPackedFixedSizePrimitive<google::protobuf::uint32,TYPE_FIXED32>(google::protobuf::io::CodedInputStream *,google::protobuf::RepeatedField<Element> *)' being compiled
with
[
Element=google::protobuf::uint32
]
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(393) : warning C4018: '<' : signed/unsigned mismatch
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(414) : see reference to function template instantiation 'bool google::protobuf::internal::WireFormatLite::ReadPackedFixedSizePrimitive<google::protobuf::uint64,TYPE_FIXED64>(google::protobuf::io::CodedInputStream *,google::protobuf::RepeatedField<Element> *)' being compiled
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(393) : warning C4018: '<' : signed/unsigned mismatch
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(415) : see reference to function template instantiation 'bool google::protobuf::internal::WireFormatLite::ReadPackedFixedSizePrimitive<google::protobuf::int32,TYPE_SFIXED32>(google::protobuf::io::CodedInputStream *,google::protobuf::RepeatedField<Element> *)' being compiled
with
[
Element=google::protobuf::int32
]
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(393) : warning C4018: '<' : signed/unsigned mismatch
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(416) : see reference to function template instantiation 'bool google::protobuf::internal::WireFormatLite::ReadPackedFixedSizePrimitive<google::protobuf::int64,TYPE_SFIXED64>(google::protobuf::io::CodedInputStream *,google::protobuf::RepeatedField<Element> *)' being compiled
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(393) : warning C4018: '<' : signed/unsigned mismatch
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(417) : see reference to function template instantiation 'bool google::protobuf::internal::WireFormatLite::ReadPackedFixedSizePrimitive<float,TYPE_FLOAT>(google::protobuf::io::CodedInputStream *,google::protobuf::RepeatedField<Element> *)' being compiled
with
[
Element=float
]
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(393) : warning C4018: '<' : signed/unsigned mismatch
d:\libs16d\include\google/protobuf/wire_format_lite_inl.h(418) : see reference to function template instantiation 'bool google::protobuf::internal::WireFormatLite::ReadPackedFixedSizePrimitive<double,TYPE_DOUBLE>(google::protobuf::io::CodedInputStream *,google::protobuf::RepeatedField<Element> *)' being compiled
with
[
Element=double
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2227) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2212) : see declaration of 'std::_Copy_impl'
d:\libs16d\include\google/protobuf/repeated_field.h(842) : see reference to function template instantiation '_OutIt std::copy<const Element[],Element[]>(_InIt,_InIt,_OutIt)' being compiled
with
[
_OutIt=google::protobuf::int64 [],
Element=google::protobuf::int64,
_InIt=const google::protobuf::int64 []
]
d:\libs16d\include\google/protobuf/repeated_field.h(841) : while compiling class template member function 'void google::protobuf::internal::ElementCopier<Element>::operator ()(Element [],const Element [],int)'
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(834) : see reference to class template instantiation 'google::protobuf::internal::ElementCopier<Element>' being compiled
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(833) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::CopyArray(Element [],const Element [],int)'
with
[
Element=google::protobuf::int64
]
d:\libs16d\include\google/protobuf/repeated_field.h(580) : while compiling class template member function 'google::protobuf::RepeatedField<Element>::RepeatedField(void)'
with
[
Element=google::protobuf::int64
]
C:\build10\protobuf-c\build-cmake\t/test-full.pb.h(1387) : see reference to class template instantiation 'google::protobuf::RepeatedField<Element>' being compiled
with
[
Element=google::protobuf::int64
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2227) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility(2212) : see declaration of 'std::_Copy_impl'
d:\libs16d\include\google/protobuf/repeated_field.h(842) : see reference to function template instantiation '_OutIt std::copy<const Element[],Element[]>(_InIt,_InIt,_OutIt)' being compiled
with
[
_OutIt=google::protobuf::uint64 [],
Element=google::protobuf::uint64,
_InIt=const google::protobuf::uint64 []
]
d:\libs16d\include\google/protobuf/repeated_field.h(841) : while compiling class template member function 'void google::protobuf::internal::ElementCopier<Element>::operator ()(Element [],const Element [],int)'
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(834) : see reference to class template instantiation 'google::protobuf::internal::ElementCopier<Element>' being compiled
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(833) : while compiling class template member function 'void google::protobuf::RepeatedField<Element>::CopyArray(Element [],const Element [],int)'
with
[
Element=google::protobuf::uint64
]
d:\libs16d\include\google/protobuf/repeated_field.h(580) : while compiling class template member function 'google::protobuf::RepeatedField<Element>::RepeatedField(void)'
with
[
Element=google::protobuf::uint64
]
C:\build10\protobuf-c\build-cmake\t/test-full.pb.h(1392) : see reference to class template instantiation 'google::protobuf::RepeatedField<Element>' being compiled
with
[
Element=google::protobuf::uint64
]
Linking CXX executable cxx-generate-packed-data.exe
[ 11%] Built target cxx-generate-packed-data
Scanning dependencies of target protobuf-c
[ 15%] Building C object CMakeFiles/protobuf-c.dir/C_/build10/protobuf-c/protobuf-c/protobuf-c.c.obj
protobuf-c.c
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(177) : error C2059: syntax error : '.'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(1995) : error C2275: 'uint8_t' : illegal use of this type as an expression
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(21) : see declaration of 'uint8_t'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(1995) : error C2065: 'e_data' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(1997) : error C2275: 'uint8_t' : illegal use of this type as an expression
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(21) : see declaration of 'uint8_t'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(1997) : error C2065: 'l_data' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(1999) : error C2143: syntax error : missing ';' before 'const'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2003) : error C2065: 'e_data' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2003) : warning C4047: '!=' : 'int' differs in levels of indirection from 'void *'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2004) : error C2065: 'd_bd' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2004) : warning C4047: '!=' : 'int' differs in levels of indirection from 'void *'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2005) : error C2065: 'e_data' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2005) : error C2065: 'd_bd' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2005) : error C2223: left of '->data' must point to struct/union
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2006) : error C2065: 'l_data' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2006) : warning C4047: '==' : 'int' differs in levels of indirection from 'void *'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2007) : error C2065: 'd_bd' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2007) : warning C4047: '!=' : 'int' differs in levels of indirection from 'void *'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2008) : error C2065: 'l_data' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2008) : error C2065: 'd_bd' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2008) : error C2223: left of '->data' must point to struct/union
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2013) : error C2143: syntax error : missing ';' before 'type'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2014) : error C2143: syntax error : missing ';' before 'type'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2015) : error C2143: syntax error : missing ';' before 'const'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2017) : error C2065: 'e_str' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2017) : error C2065: 'd_str' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2017) : error C2065: 'l_str' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2017) : error C2065: 'd_str' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2142) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2186) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2899) : error C2143: syntax error : missing ';' before 'type'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2900) : error C2065: 'a' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2904) : error C2065: 'a' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(2904) : warning C4047: '=' : 'void *' differs in levels of indirection from 'int'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(3059) : error C2143: syntax error : missing ';' before 'type'
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(3060) : error C2065: 'i' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(3060) : error C2065: 'i' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(3060) : warning C4018: '<' : signed/unsigned mismatch
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(3060) : error C2065: 'i' : undeclared identifier
C:\build10\protobuf-c\protobuf-c\protobuf-c.c(3061) : error C2065: 'i' : undeclared identifier
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~4.0\VC\bin\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment