[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Unit test case for parse_content_range()

From: Ander Juaristi
Subject: Re: [Bug-wget] Unit test case for parse_content_range()
Date: Mon, 31 Aug 2015 00:29:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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.


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 
   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
  Libs:              -lgnutls   -lz
  SSL:               gnutls

- AJ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]