This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] to gcc for an strstr problem
- To: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Subject: Re: [patch] to gcc for an strstr problem
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 25 Dec 2000 04:16:41 -0200
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <0012242244.AA01979@ivan.Harhan.ORG>
On Dec 24, 2000, msokolov@ivan.Harhan.ORG (Michael Sokolov) wrote:
> Hmm, sounds right. But what about the current mechanism for
> vfprintf/_doprnt that I copied my strstr handling from then? Is it
> currently broken then?
Nope, but you'll find occurrences of `#define HAVE_VFPRINTF', for
example, in some configuration files.
> BTW, your version of the strstr checking macro may not be
> correct. I've tested my patch against the current gcc in its
> original version and I haven't tested it with your macro yet, but I
> just tried porting it to gcc-2.95.3 (which has a problem with strtol
> just like 2.97 has with strstr) using your macro instead of mine and
> @strtol@ came out empty in the Makefile instead of strtol.o.
Hmm... That's odd. Does config.log (or the output of configure,
regarding strtol) help figure out why the result came out wrong?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me