Re: [protobuf] Errors building Protobuf 3.5.1 with Visual Studio 2005

2018-05-30 Thread Dennis Newbold
>From the error messages, it appears that the problem may be due to hitting some internal compiler limits. Just a wild thought, but you might try compiling just the protobuf code itself with vs 2008 or mingw gcc to create binary object files or perhaps a dll, and see if the result will link with

Re: [protobuf] Errors building Protobuf 3.5.1 with Visual Studio 2005

2018-05-29 Thread 'Feng Xiao' via Protocol Buffers
On Tue, May 29, 2018 at 9:42 AM Eric Pederson wrote: > Hi all: > > I am trying to build Protobuf (3.5.1) using Visual Studio 2005 (I know, > it's ancient, but we are stuck with it for now). I am getting these errors: > > > Compiling... > main.cc > src\google/protobuf/stubs/hash.h(309) : error

[protobuf] Errors building Protobuf 3.5.1 with Visual Studio 2005

2018-05-29 Thread Eric Pederson
Hi all: I am trying to build Protobuf (3.5.1) using Visual Studio 2005 (I know, it's ancient, but we are stuck with it for now). I am getting these errors: Compiling... main.cc src\google/protobuf/stubs/hash.h(309) : error C2977: 'stdext::hash_map' : too many template arguments