Does it help if you also #include <inttypes.h>
at the beginning of your source? If not, please try to find out which header defines 'intptr_t' on your system. Happy hacking! -Christian On 10/30/2014 01:26 AM, Peter Spiess-Knafl wrote: > Hello! > > I built a JSON-RPC framework which I currently try to move from mongoose > to libmicrohttpd. > > Everything builds fine under Debian Jessie. But on the travis-ci agent, > which runs Ubuntu 12.04 Server I get the following compile error: > > /usr/include/microhttpd.h:497:3: error: unknown type name 'intptr_t' > > Build log can be found here: > > https://travis-ci.org/cinemast/libjson-rpc-cpp/jobs/39444160#L143 > > The corresponding source code can be found here: > https://github.com/cinemast/libjson-rpc-cpp/blob/feature/libmicrohttpd/src/jsonrpccpp/server/connectors/httpserver.h > https://github.com/cinemast/libjson-rpc-cpp/blob/feature/libmicrohttpd/src/jsonrpccpp/server/connectors/httpserver.cpp > > Has anyone any ideas on that? > > Thanks in advance, > Peter > >
0x48426C7E.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
