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

Luigi Rizzo rizzo at icir.org
Sun Oct 30 14:45:33 MST 2005


#include <intttypes.h> maybe ?

sorry i don't have access to a linux box (if i did, i would have
posted the results)

	cheers
	luigi

On Sun, Oct 30, 2005 at 01:40:02PM -0500, Brian Capouch wrote:
> 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)
> 
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list