bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [Patch] src/main.c


From: Tim Ruehsen
Subject: Re: [Bug-wget] [Patch] src/main.c
Date: Tue, 11 Nov 2014 16:36:20 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

On Tuesday 11 November 2014 13:00:31 Gisle Vanem wrote:
> I've managed to build Wget using MSVC ver. 16 (Visual C Express 2010).
> after some tweeking of Gnulib etc. Besides all the problems with the
> C99 syntax of data after code, there is this little issue with
> '_Noreturn':
> 
> --- orig/main.c       2014-10-30 13:33:41 +0000
> +++ main.c      2014-11-10 15:48:38 +0000
> @@ -117,8 +117,8 @@
>
>   /* Definition of command-line options. */
> 
> -static void print_help (void);
> -static void print_version (void);
> +static void _Noreturn print_help (void);
> +static void _Noreturn print_version (void);
> 
> ------------------
> 
> In Gnulib's ../build-aux/snippet/_Noreturn.h, this
> expands to '__declspec(noreturn)' for MSVC. Seems
> gcc is more forgiving in omitting a declspec in the
> prototype vs. implementation. Can you fix this?

I pushed it. Thanks for reporting.

Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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