[Libevent-users] event.h:214: error: expected specifier-qualifier-list before ‘u_char’-bug?

Sun Yi-Ming dolmens at gmail.com
Wed Oct 17 04:36:15 EDT 2007


Hi guys,
I try to compile libevent-1.3e on my debian etch box, and got an error
message which is "event.h:214: error: expected
specifier-qualifier-list before 'u_char'".
Is it a bug or did I do something wrong.
btw, if i put an statement " typedef unsigned char u_char;" before
include event.h, the compile goes smoothly.

#include <stdio.h>
// typedef unsigned char u_char;
#include <event.h>

int main()
{
	return 0;
}
-- 
Sincerely,

孙一鸣 Simon Sun
--
Be a man with simple interface.


More information about the Libevent-users mailing list