By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,454 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

.NET Framwork SP1 (Version 1.1.4322) Bug?

P: n/a
After installing .NET Framework SP1, I find that re-compiling Visual C++.NET
code with Visual Studio 2003 (v 7.1.3088) that previously compiled
successfully gives rise to two errors:

C2039: 'SuppressFinalize' : is not a member of 'System::GC'
: see declaration of 'System::GC'. This diagnostic occurred in the
compiler generated function 'Bridge::~Bridge'

C3861: 'SuppressFinalize': identifier not found, even with
argument-dependent lookup. This diagnostic occurred in the compiler generated
function 'Bridge::~Bridge'

The statement that 'SuppressFinalize' is compiler generated is correct. I
didn't call that function and I don't see it anywhere, hidden or not, in the
code. Moreover, the documentation on SuppressFinalize does say that it is a
member of System::GC.
--
sunrat
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
The error message occurs only for classes of __gc type. I just
installed the NET Framwork SP1 (Version 1.1.4322) and have the same
problem. Any help?

Manoj.

sunrat <su****@work.net> wrote in message news:<8A**********************************@microso ft.com>...
After installing .NET Framework SP1, I find that re-compiling Visual C++.NET
code with Visual Studio 2003 (v 7.1.3088) that previously compiled
successfully gives rise to two errors:

C2039: 'SuppressFinalize' : is not a member of 'System::GC'
: see declaration of 'System::GC'. This diagnostic occurred in the
compiler generated function 'Bridge::~Bridge'

C3861: 'SuppressFinalize': identifier not found, even with
argument-dependent lookup. This diagnostic occurred in the compiler generated
function 'Bridge::~Bridge'

The statement that 'SuppressFinalize' is compiler generated is correct. I
didn't call that function and I don't see it anywhere, hidden or not, in the
code. Moreover, the documentation on SuppressFinalize does say that it is a
member of System::GC.

Nov 22 '05 #2

P: n/a
Problem resolved. I problem went away after I cleaned the solution
(Build>>Clean Solution) and rebuilt everything.
--
sunrat
Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.