2 warnnings when compiling

William Hubbs w.d.hubbs at gmail.com
Tue Nov 2 14:26:12 CET 2010


On Tue, Nov 02, 2010 at 12:06:30PM +0000, Christopher Brannon wrote:
> Jos?? Vilmar Est??cio de Souza <vilmar at informal.com.br> writes:
> 
> > Hi all.
> > When compiling speech-dispatcher, I am receiving 2 warnings.
> > options.c:31: warning: "PACKAGE" redefined
> > ../../../config.h:179: note: this is the location of the previous definition
> > options.c:32: warning: "VERSION" redefined
> > ../../../config.h:203: note: this is the location of the previous definition
> 
> These won't be hard to fix.  Instead of overriding PACKAGE and VERSION,
> we should just define PROGRAM_NAME and PROGRAM_VERSION.

Why not just delete the definitions in options.c?
I don't think we need PROGRAM_NAME and PROGRAM_VERSION at all.

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freebsoft.org/pipermail/speechd/attachments/20101102/21ad8b65/attachment.pgp>


More information about the Speechd mailing list