[Asterisk-Dev] Re: asterisk/include/asterisk utils.h,1.46,1.47

Brian Capouch brianc at palaver.net
Sun Oct 30 11:40:02 MST 2005


Luigi Rizzo wrote:
> 
> 
> 
> The following fails with gcc 3.4.4 as well, for t defined as [u]int{8|16}_t,
> on FreeBSD at least.
> 
> i'd be curious to know how it works on linux or other platforms

$ gcc --version
gcc (GCC) 3.2.3

$ gcc -Wall -Werror -Wconversion luigi.c
luigi.c:4: syntax error before "t"
cc1: warnings being treated as errors
luigi.c:4: warning: type defaults to `int' in declaration of `t'
luigi.c:4: warning: data definition has no type or storage class
luigi.c:6: syntax error before "x"
luigi.c: In function `f':
luigi.c:8: `x' undeclared (first use in this function)
luigi.c:8: (Each undeclared identifier is reported only once
luigi.c:8: for each function it appears in.)
luigi.c: In function `main':
luigi.c:13: syntax error before "b"
luigi.c:15: `b' undeclared (first use in this function)





More information about the asterisk-dev mailing list