[Top][All Lists]

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

Re: 'remove' is reserved

From: Bruno Haible
Subject: Re: 'remove' is reserved
Date: Wed, 1 Nov 2006 22:32:02 +0100
User-agent: KMail/1.9.1

Ralf Wildenhues wrote:
> I get this error with CVS gettext:
> | make[3]: Entering directory `/tmp/gettext/build/gettext-tools/libgrep'
> | gcc -DHAVE_CONFIG_H -I. -I.. -I../../../gettext/gettext-tools/libgrep  -I.. 
> -I../gnulib-lib -I../../../gettext/gettext-tools/gnulib-lib -I../intl   -g 
> -O2 -c ../../../gettext/gettext-tools/libgrep/dfa.c
> | ../../../gettext/gettext-tools/libgrep/dfa.c:1446: error: conflicting types 
> for ‘remove’
> | /usr/include/stdio.h:152: error: previous declaration of ‘remove’ was here
> | make[3]: *** [dfa.o] Fehler 1

Thanks. It was too adventurous to use 'remove' as an identifier.

> How about this patch?

Thanks, I prefer 'delete_pos' - it's closer to the original name and to
the overall style of that file. (The next function is called 'epsclosure',
not 'epsilon_closure'.)


reply via email to

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