On Sat, Jun 09, 2001 at 07:39:54PM +0200, Mike Nordell wrote:
> Oh, isn't that a clear violation of the ISO standard (OK, ANSI is implied)?

ANSI isn't implied. By default, a few gcc extensions are allowed.
Those that conflict with the standards can be turned off with the
-ansi flag.

As of gcc 3.0, which is currently in beta, calling strlen without
including <string.h> gives an "implicit declaration" warning (unless
you use -Werror, in which case it is an error). IMHO this is the
correct behavior.

Reply via email to