how to compile project with uchar_t in ubuntu

c++, compilation, ubuntu

Solution

It seems, `uchar_t` is meant to represent some character in which case you probably want to make it an `unsigned` character type, e.g.:

typedef unsigned char uchar_t;

Whether this works depends on what the code really intended to do. Without context it is impossible to tell what is intended. In either case, I would use a `typedef` in a strategic place rather than replacing the type. Likewise, `uint_t` is probably meant to be

typedef unsigned int uint_t;

Whether these `typedef`s do the right thing, needs to be verified, though.

Problem

I have a project source code it contain uchar_t I need to compile this project in Ubuntu 13.10 but when run compilation that it warn : ``` unknown type name ‘uchar_t’ ``` anyone have idea to solve. replace uchar_t or other solution ...

Original source