[cfe-commits] [PATCH]PNaClTargetInfo: add __ELF__, _REENTRANT and _GNU_SOURCE defines and update the test.
eli.friedman at gmail.com
Thu Aug 25 16:45:17 PDT 2011
On Thu, Aug 25, 2011 at 4:16 PM, Ivan Krasin <krasin at chromium.org> wrote:
> Hi Clang team!
> This patch adds few missing defines to PNaClTargetInfo to make clang++
> work correctly on #include <stdio.h> and similar cases. I've updated
> that test to check that these defines are there and that it can
> #include <stdio.h>
> The patch is attached and is also available online:
> Please, let me know if it's fine to commit.
Putting "#include <stdio.h>" into a test is likely to explode... but
More information about the cfe-commits