RE: segv at strcmp

From: Luck, Tony <>
Date: 2004-01-06 06:19:36
> Hi -
>   The gcc version is gcc-3.2-29 and the flags we pass
> to gcc are : -O -ansi -fwritable-strings -fsigned-char

I have gcc 3.2.3 ... but it appears to not do anything
strange to my test program with those options.

        char *x = "7chars!";

        strcmp(x, "This is 24 chars long!!!");

with those options.  Do you have any include files that
might be redefining strcmp as memcmp?

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Mon Jan 5 14:20:40 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST