thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej <borucki_andr...@wp.pl>
Subject Standard samples: C++: typedef int32_t int
Date Tue, 22 Aug 2017 09:19:26 GMT
I have successfully installed Thrift and make samples (thrift-exercises 
on github/borneq)
First sample : multiplication with Java I build and run with success.
But If I want compile to C++ it has problem:
typedef i32 int // We can use typedef to get pretty names for the types 
we are using
service MultiplicationService
{
         int multiply(1:int n1, 2:int n2),
}
compile to:
typedef int32_t int;

it is GCC problem. I can't simply remove "typedef i32 int" from thrift 
because thrift need int type.


Mime
View raw message