[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on s
From: |
Ángel González |
Subject: |
Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms |
Date: |
Wed, 14 Nov 2012 17:28:35 +0100 |
User-agent: |
Thunderbird |
On 14/11/12 14:31, Tim Ruehsen wrote:
> If non-c89 stuff triggers warnings/errors on a c89 compiler or not is just
> guessing. Some might work, others not.
> But to draw a clear line regarding c89: why not taking gcc -std=c89 as
> reference ? Try that and realize that Wget is not compilable...
> [But it should just be a couple of hours to fix it.]
I tried it, and it only needs a one line change to be compilable :)
Remember to run
CC='gcc -std=c89' ./configure
first, or otherwise you're using a configuration tailed to another
compiler with a c89 one.
If you want warnings on some gnu extensions used there, you can use:
CC='gcc -std=c89 -pedantic -DNO_C_CTYPE_MACROS' ./configure
Although it still has several warnings:
Warning: ISO C90 does not support 'long long' (printf-args.h and
vasnprintf.c)
warning: ISO C90 forbids mixed declarations and code (several files)
warning: ISO C forbids conversion of object pointer to function pointer
type (main.c)
- Re: [Bug-wget] Invalid Content-Length header in WARC files, on some platforms, (continued)
- Re: [Bug-wget] Invalid Content-Length header in WARC files, on some platforms, Tim Ruehsen, 2012/11/13
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Tim Ruehsen, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Daniel Stenberg, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Tim Ruehsen, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, David Ryskalczyk, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Tim Ruehsen, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms,
Ángel González <=
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/14
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Tim Ruehsen, 2012/11/15
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Giuseppe Scrivano, 2012/11/17
- [Bug-wget] Portability to platforms without C99, Hrvoje Niksic, 2012/11/22
- Re: [Bug-wget] Portability to platforms without C99, Tim Rühsen, 2012/11/24
- Re: [Bug-wget] Portability to platforms without C99, Giuseppe Scrivano, 2012/11/25
- [Bug-wget] C99 vs C89, Daniel Stenberg, 2012/11/22