This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] to gcc for an strstr problem


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]