Hi Mathias,

The place to modify is c++/src/capnp/compiler/capnpc-c++.c++, line 532.

What is your proposed fix here? I guess we need to write
(-9223372036854775807ll-1)?

-Kenton

On Wed, Dec 13, 2017 at 9:07 AM, <[email protected]> wrote:

> When setting a constant of value -9223372036854775808, the C++ generated
> is the two following tokens -9223372036854775808ll which causes a warning
> with GCC, integer constant is too large.
> Could someone point me to the right place in the code so that I can fix it?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/group/capnproto.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to