[cfe-dev] Differences between linux and macosx

Chris Lattner clattner at apple.com
Mon Jun 16 10:15:48 PDT 2008


On Jun 15, 2008, at 2:50 PM, Filipe Cabecinhas wrote:

> Hi,
>
> I'm getting a weird error in Linux (gentoo) that doesn't happen in
> MacOS X:
>
> filcab at escher ~ $ cat b.c
> #include <alloca.h>
> int main ()
> {
>   char *p = (char *) alloca (2 * sizeof (int));
>   if (p) return 0;
>   return 0;
> }

Fixed:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080616/006124.html

Thanks!

-Chris



More information about the cfe-dev mailing list