The issue was fixed!!

The problem was in DEBUG_NEW macro which is defined  for memory leakage 
detection.
undef   in arena. h  and repeated_field.h helped!

#ifdef new
#undef new  // Visual Studio defines DEBUG_NEW
#endif

On Monday, September 10, 2018 at 3:42:21 PM UTC+2, Natalia Duality wrote:
>
> Hello.
> I use protobuffer v 3.6.1 
> When I build in release mode, everything is OK.
>
> But in debug mode I receive error Error *C2665 *'operator new': none of 
> the 5 overloads  in arena.h 
>
> I use Visual Studio 2015 *Update3*. Can it be resolved somehow?
>
>
> Thanks in advance,
> Natalia
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to