Displaying 3 results from an estimated 3 matches for "39c2d876".
2013 Aug 29
0
[LLVMdev] COFF.h and windows.h conflict
On Aug 28, 2013, at 7:05 PM, Virgile Bello <virgile.bello at gmail.com> wrote:
> 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
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
2013 Aug 29
3
[LLVMdev] COFF.h and windows.h conflict
...at 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/20130829/39c2d876/attachment.html>