Re: [IDEA+RFC] Possible solution for min()/max() war

Thomas Dodd (ted@cypress.com)
Thu, 30 Aug 2001 16:45:36 -0500


Richard B. Johnson wrote:
> that you can run, which shows that some versions of gcc don't even
> perform macro-expansion correctly.
> This version was shipped with RedHat 7.x
>
> As you can see, the casts are !!!IGNORED!!! in gcc 2.96.

If you use cpp, you see that it is expanded.
But it still warns about it, which it shouldn't.
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)

File a bug.

-Thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/