<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 2, 2014 at 12:00 PM, Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Looks like you are getting a conflict with the macros defined in:<br>
<br>
<mach/machine.h><br>
<br>
and these are ruining the defines set in:<br>
<br>
"llvm/Support/MachO.h"<br>
<br>
So you aren't missing anything and I am not sure why things are different for us. I thought this was fixed by adding an underscore in front of all CPU_TYPE_XXX items in MachO.h that exactly matched macros in machine.h... It is really lame that a header file in LLVM is using macros that exactly match enums.<br>
</blockquote><div><br></div><div>Feature, not a bug.  IMO it's lame that <mach/machine.h> uses macros instead of enums.  ;)</div><div><br></div><div>Is <mach/machine.h> pulled in transitively, or is it an explicit include?  If so, what's being used?  Can it be isolated to a single cpp file?</div>
</div></div></div>