[Kamailio-Devel] SF.net SVN: openser:[4832] trunk/modules

Henning Westerholt henning.westerholt at 1und1.de
Fri Sep 12 12:24:13 CEST 2008


On Friday 12 September 2008, Juha Heinanen wrote:
>  > just a minor thing, i noticed this warnings today during package
>  > building (both on i386 and amd64):
>  >
>  > functions.c: In function 'radius_load_caller_avps':
>  > functions.c:188: warning: format '%u' expects type 'unsigned int', but
>  > argument 4 has type 'UINT4'
>
> not with my (ubuntu and debian) compilers.  looks like yours don't have
> enough intelligence to figure out that UINT4 == unsigned int.  do we
> really need to support all kinds of compilers?

Hi Juha,

yes, i also wondered if this is really valid. This is on debian etch, 
aparently gcc 4.1.2 thinks that UINT4 != unsigned int.

On amd64 i got also this additional one:

extra.c: In function 'extra2strar':
extra.c:193: warning: cast to pointer from integer of different size

Cheers,

Henning



More information about the Devel mailing list