Just an FYI - VS2003 bug.

This topic is 4106 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

I dont know if anyone is still using VS2003, but I ran into a rather odd error today while building some stuff at the office (Its updated..):
struct PATTERN
{
PATTERN();
~PATTERN();

unsigned int	m_offset;
void*		m_data;
};


Thats about as vanilla as it gets in my world and 2003 was essentially coming back with the 1003 - internal compiler error message... which redirects you to paid support (I know you can get a refund if it turns out to be their fault.. but come on...). After piddling around for a while it turns out the PATTERN is defined in wingdi.h as:
 typedef LOGBRUSH            PATTERN;
Clearly some namespacing or renaming would prevent this, but since it was esoteric (and the error message was so informative) I figured I would mention it here in case anyone else was running into something similar. cheers. #dth-0

Share on other sites
Have you posted this to the MSDN forums or perhaps a Visual Studio-related newsgroup? That would seem advisable in this case; I'm sure they would enjoy hearing of this.

1. 1
2. 2
3. 3
frob
20
4. 4
Rutin
19
5. 5

• 32
• 13
• 10
• 11
• 9
• Forum Statistics

• Total Topics
632558
• Total Posts
3007077

×