VC++ 2008 compiler bug

R

Remi THOMAS

Hi,

In Visual Studio Team System 2008 (cl version 15.0.21022.8)
I can't reproduce the problem in a mini project.

class1 name is picoDB::MemBlob
class2 name is pixtek::tools::Blob
class3 name is pixtek::tools::MemBlob : public Blob

in the code
bool CBusiness::ExtractPDB(pixtek::tools::MemBlob *output, int type)
{
....
picoDB::MemBlob blob; // Line 127
bResult = row.GetBlob(2+type, &blob);
.....
}
I get
business.cpp(127) : fatal error C1001: An internal error has occurred in the
compiler.
(compiler file
'f:\dd\vctools\compiler\utc\src\p2\main.c[0x5111D33B:0x00000030]', line 182)

Now I rename blob in blob2 and it works.
I had some other error during preprocessing, the compiler seems to mix class
name and instance name. Changing include order resolve the problem that
should not exist

If you (Microsoft) want the full project ask by mail.

Sincerely,
Remi
Former C++ MVP
 
C

Carl Daniel [VC++ MVP]

Remi said:
Hi,

In Visual Studio Team System 2008 (cl version 15.0.21022.8)
I can't reproduce the problem in a mini project.

class1 name is picoDB::MemBlob
class2 name is pixtek::tools::Blob
class3 name is pixtek::tools::MemBlob : public Blob

in the code
bool CBusiness::ExtractPDB(pixtek::tools::MemBlob *output, int type)
{
...
picoDB::MemBlob blob; // Line 127
bResult = row.GetBlob(2+type, &blob);
....
}
I get
business.cpp(127) : fatal error C1001: An internal error has occurred
in the compiler.
(compiler file
'f:\dd\vctools\compiler\utc\src\p2\main.c[0x5111D33B:0x00000030]',
line 182)
Now I rename blob in blob2 and it works.
I had some other error during preprocessing, the compiler seems to
mix class name and instance name. Changing include order resolve the
problem that should not exist

If you (Microsoft) want the full project ask by mail.

I'd suggest posting a bug report on
http://connect.microsoft.comVisualStudio/Feedback

-cd
 
Top