Closed xbchaos closed 10 years ago
src/zmqpp/actor.cpp: In constructor ‘zmqpp::actor::actor(zmqpp::actor::ActorStartRoutine)’: src/zmqpp/actor.cpp:27: error: call of overloaded ‘to_string(ptrdiff_t)’ is ambiguous /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:2604: note: candidates are: std::string std::to_string(long long int) /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:2610: note: std::string std::to_string(long long unsigned int) /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:2616: note: std::string std::to_string(long double)
i wish the header file stddef.h could be added to the file src/zmqpp/actor.cpp to avoid this compilation error.
src/zmqpp/actor.cpp: In constructor ‘zmqpp::actor::actor(zmqpp::actor::ActorStartRoutine)’: src/zmqpp/actor.cpp:27: error: call of overloaded ‘to_string(ptrdiff_t)’ is ambiguous /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:2604: note: candidates are: std::string std::to_string(long long int) /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:2610: note: std::string std::to_string(long long unsigned int) /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:2616: note: std::string std::to_string(long double)
i wish the header file stddef.h could be added to the file src/zmqpp/actor.cpp to avoid this compilation error.