[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] UINT clashes with Windows MFC-ATL
From: |
Pete A. |
Subject: |
Re: [Openexr-devel] UINT clashes with Windows MFC-ATL |
Date: |
Mon, 03 Jan 2005 12:37:46 -0800 |
>The line of code that causes problems in ATL is VS7 cstringt.h line 2234 :
> UINT nID = LOWORD( reinterpret_cast< DWORD_PTR >( pv ) );
>which expands to :
> UINT nID = ((WORD)((DWORD_PTR)( reinterpret_cast<DWORD_PTR>(pv)) &
>0xffff));
>
>The error I get is C2872: "UINT" : Ambiguous symbol. Could be "unsigned int
>UINT" or "Imf::PixelType UINT"
Either modify the cstringt header file to change "UINT" to "::UINT" or
don't do "using namespace Imf;" in your code.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Openexr-devel] UINT clashes with Windows MFC-ATL,
Pete A. <=