Hi Gert,

[…]

*sigh*. Thanks for finding out && providing the patch!

Learning: Try on multiple machines (It “compiles on my machine [Mac]” 
apparently is not enough)

My test vm (precise) fails with the same error.

Jens 


> While this looks totally reasonable, it does not compile...  both in
> master and release/2.3, both on linux and FreeBSD, I get
> 
> libtool: compile:  cc -DHAVE_CONFIG_H -I. 
> -I../../../../openvpn/src/plugins/auth-pam -I../../.. -I../../../include 
> -I../../../../openvpn/include -g -O2 -MT auth-pam.lo -MD -MP -MF 
> .deps/auth-pam.Tpo -c ../../../../openvpn/src/plugins/auth-pam/auth-pam.c  
> -fPIC -DPIC -o .libs/auth-pam.o
> ../../../../openvpn/src/plugins/auth-pam/auth-pam.c:141:53: error: use of
>      undeclared identifier 'SIZE_MAX'
>  bool is_potential_integer_overflow =  (templen == SIZE_MAX) || (temple...
> 
> ... you need to #include <stdint.h> to get that symbol...
> 
> Steffan: for the sake of "avoid yet another full loop and a v3", could 
> you just ACK this change as well?
> 
> gert
> 
> -- 
> USENET is *not* the non-clickable part of WWW!
>                                                           //www.muc.de/~gert/
> Gert Doering - Munich, Germany                             g...@greenie.muc.de
> fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de


Reply via email to