[protobuf] VC++ 2008 : Run-Time Check Failure #1

2010-03-23 Thread Nathan McDaniel
I am getting the following run-time check failure in coded_stream.h at the following function: inline uint8* CodedOutputStream::WriteLittleEndian32ToArray(uint32 value, uint8* target) { #if

[protobuf] Re: VC++ 2008 : Run-Time Check Failure #1

2010-03-23 Thread Nathan McDaniel
Well I added this to common.h, which doesn't fix the problem but it gets around it by enabling the little-endian-assumption optimizations for windows: patch Index: common.h === --- common.h(revision 4984) +++ common.h

Re: [protobuf] VC++ 2008 : Run-Time Check Failure #1

2010-03-23 Thread Kenton Varda
The loss of data is intentional. I've never seen MSVC or any other compiler complain about this before. Feel free to send a patch adding the bit masks it asks for. On Tue, Mar 23, 2010 at 8:47 AM, Nathan McDaniel nmcdanie...@gmail.comwrote: I am getting the following run-time check failure