Hi Ander,

Thanks for testing!
I generally have the -std=gnu99 CFLAG enabled so I didn't realize the
error. I've pushed a fix to the repository.

On Mon, Aug 31, 2015 at 3:59 AM, Ander Juaristi <[email protected]> wrote:
> On 08/30/2015 05:57 PM, Darshit Shah wrote:
>>
>> I've attached an updated patch with some test cases and a couple of
>> fixes to the parsing logic.
>>
>
> Hi,
>
> The latest pull fails with the following error:
>
> http.c: In function 'test_parse_range_header':
> http.c:4933:3: error: 'for' loop initial declarations are only allowed in
> C99 mode
>    for (unsigned i = 0; i < countof (test_array); i++)
>    ^
> http.c:4933:3: note: use option -std=c99 or -std=gnu99 to compile your code
>
> I ran './configure' without arguments (ie. default flags):
>
>   Compiler:          gcc
>   CFlags:            -I/usr/include/p11-kit-1   -DHAVE_LIBGNUTLS   -DNDEBUG
>   LDFlags:
>   Libs:              -lgnutls   -lz
>   SSL:               gnutls
>
> Regards,
> - AJ
>



-- 
Thanking You,
Darshit Shah

Reply via email to