Subject: Re: Question regarding C syntax
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 09/16/2006 23:06:49
On 9/16/06, Georg Schwarz <georg.schwarz@freenet.de> wrote:
> devel/pkg-config's pkg.c has
>
> static Package pkg_config_package = {
> .key = PACKAGE,
> .name = PACKAGE,
> .version = VERSION, /* .version */
> .description = "returns metainformation about installed libraries",
> .url = "http://pkg-config.freedesktop.org",
> 0 /* keep the rest as null */
> };
>
>
> This code does not compile with the IRIX IDO cc (other non-gcc
> compilers might also be affected).
> Is it OK to change it into the following form?
>
> static Package pkg_config_package = {
> PACKAGE,
> PACKAGE,
> VERSION, /* .version */
> "returns metainformation about installed libraries",
> "http://pkg-config.freedesktop.org",
> 0 /* keep the rest as null */
> };
I think so... but please submit this change to the authors.
Thanks.
--
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/