Typedefs The HP C compiler does not allow combining type specifiers with typedef names. For example: typedef long t; unsigned t var; Compilers derived from pcc accept this code, but HP C does not. Change the typedef to include the type specifier: typedef unsigned long t; t var; or use a define: #define t long unsigned t var;