[lldb-dev] [patch]

Greg Clayton gclayton at apple.com
Mon Mar 24 10:14:00 PDT 2014


I would rename the structure rather than undefining a macro that could cause other errors.

On Mar 24, 2014, at 5:26 AM, Abid, Hafiz <Hafiz_Abid at mentor.com> wrote:

> Hi All,
> It seems that gcc defines i386 when we are not building with -std=c++11. This was causing me a build error as some new types were added in the code with name i386. So this patch #undefs i386. There is a better alternate available if someone needs this macro.
> http://gcc.gnu.org/onlinedocs/gcc-4.3.5/cpp/System_002dspecific-Predefined-Macros.html
> 
> Please note that LLVM is compiled with -std=gnu++11 for mingw since commit 3f06e3f55fb2f2a3ec03903a53633bf270575599. OK?
> 
> Regards,
> Abid
> <i386.patch>_______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list