Displaying 2 results from an estimated 2 matches for "2474c071".
2013 Aug 29
0
[LLVMdev] COFF.h and windows.h conflict
...m is including windows.h? Or that some std lib C/C++ header is being included and the OS provided std header is including windows.h?
>
> -Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130828/2474c071/attachment.html>
2013 Aug 29
2
[LLVMdev] COFF.h and windows.h conflict
Right now, we have:
In COFF.h:
class COFF { enum MachineTypes { IMAGE_FILE_MACHINE_UNKNOWN = 0x0,
... }; };
In windows.h:
#define IMAGE_FILE_MACHINE_UNKNOWN 0
* If you first include COFF.h and then windows.h,
COFF::IMAGE_FILE_MACHINE_UNKNOWN
will be preprocessed into
COFF:0.
* If you first include Windows.h and then COFF.h, COFF.h won't work because
it's enum will