Subject: | format warnings during compilation |
Date: | Thu, 9 Jan 2014 16:06:10 +0000 |
To: | bug-Devel-Declare [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
gcc -Wall reveals a problem in the debugging trace code:
Declare.xs: In function 'call_done_declare':
Declare.xs:260:5: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat]
Declare.xs:262:5: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat]
Declare.xs:277:5: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat]
Declare.xs:279:5: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat]
Declare.xs:280:5: warning: format '%i' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat]
Attached patch fixes.
-zefram
Message body is not shown because sender requested not to inline it.