### Question 11.32

Why won't the Frobozz Magic C Compiler, which claims to be ANSI compliant, accept this code? I know that the code is ANSI, because `gcc` accepts it.

Many compilers support a few non-Standard extensions, `gcc` more so than most. Are you sure that the code being rejected doesn't rely on such an extension? It is usually a bad idea to perform experiments with a particular compiler to determine properties of a language; the applicable standard may permit variations, or the compiler may be wrong. See also question 11.35.

Read sequentially: prev next up top

This page by Steve Summit // Copyright 1995 // mail feedback