In article <e1c2c6d9.0306300538.6b4d591a@posting.google.com>, Eric Dillard wrote:
struct BGRColor
{
BGRColor() {}
BGRColor(byte R, byte G, byte B) : m_R(R), m_G(G), m_B(B) {}
byte m_B;
byte m_G;
byte m_R;
};
I'm trying to compile my application and visual c++ keeps give me
error message
( error C2629: unexpected 'struct BGRColor ('). This piece of code is
used in a class header file and seems to work in the project i got it
from. The only different is that the that project uses MFC.
The error is probably caused by code that comes before the struct
declaration. Possibly the problem is not in the same file, but rather in
a previously included header file.
--
"Codito ergo sum"
Roel Schroeven
.
|