V
Vincent RICHOMME
Hi,
some questions about namespaces.
Let's say I have a class CExtPaintManager defined like this :
class CExtPaintManager
{
protected:
....
class B
{
};
public:
class C
{
};
enum e_align_t
{
__ALIGN_HORIZ_CENTER = 1,
__ALIGN_HORIZ_RIGHT = 2,
__ALIGN_VERT = 4
};
};
When I compile my sample code compiler says :
warning C4482: nonstandard extension used: enum
'CExtPaintManager::e_align_t' used in qualified name
m_nAlign = CExtPaintManager::e_align_t::__ALIGN_HORIZ_CENTER
|CExtPaintManager::e_align_t::__ALIGN_VERT;
What does it mean and how fix it ?
some questions about namespaces.
Let's say I have a class CExtPaintManager defined like this :
class CExtPaintManager
{
protected:
....
class B
{
};
public:
class C
{
};
enum e_align_t
{
__ALIGN_HORIZ_CENTER = 1,
__ALIGN_HORIZ_RIGHT = 2,
__ALIGN_VERT = 4
};
};
When I compile my sample code compiler says :
warning C4482: nonstandard extension used: enum
'CExtPaintManager::e_align_t' used in qualified name
m_nAlign = CExtPaintManager::e_align_t::__ALIGN_HORIZ_CENTER
|CExtPaintManager::e_align_t::__ALIGN_VERT;
What does it mean and how fix it ?