RE: error C3646: 'exception' : unknown override specifier
- From: Morris Neuman <Morris@xxxxxxxxxxxxx>
- Date: Wed, 7 Jan 2009 07:20:01 -0800
Yes that sound good.
Just two questions
1. Where on my system do I see the Upgrade Wizard log?
2. I tried to use Outlook express Mail reader to access this forum and get
the following error:
-------------
502 cv.net: Access denied to your node - news@xxxxxx
Configuration:
Account: MSDN
Server: news.optonline.net
Protocol: NNTP
Port: 119
Secure(SSL): 0
Error Number: 502
Code: 800ccca0
---------
I can access other forums like microsoft.public.dotnet.framework.aspnet
which also give that error but then go on to list all the postings. But this
vc.language forum does not display any postings.
Thanks again for your help
--
Thanks
Morris
""Jialiang Ge [MSFT]"" wrote:
Hello Morris.
I performed more researches on the subject and find that the root cause of
the issue is a break change of _STD_USING after VC6.
In VC6, when we include the header <exception>, the std namespace is
automatically used. We do not need to additionally add the line 'using
namespace std;'. The relevant code is:
In the file ..\VC98\Include\YVALS.H (the header is used by <exception>
indirectly)
#if defined(__cplusplus)
#define _STD std::
#define _STD_BEGIN namespace std {
#define _STD_END };
#define _STD_USING
#else
......
The line #define _STD_USING indicates that, if the current project is a
C++ project, we define _STD_USING
However, after VC6, say in VC2008, std namespace is not used by default:
..\Microsoft Visual Studio 9.0\VC\include\yvals.h
#if defined(__cplusplus)
#define _STD_BEGIN namespace std {
#define _STD_END }
#define _STD ::std::
We need to manually add the line 'using namespace std;'.
It is this change that causes the error C3646: 'exception' : unknown
override specifier when we upgrade a VC6 project to VC2008. There is no
error in the upgrade, but the default setting in the different header files
causes the problem.
Please let me know whether this explanation answers your question?
Regards,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
- Follow-Ups:
- RE: error C3646: 'exception' : unknown override specifier
- From: "Jialiang Ge [MSFT]"
- Re: error C3646: 'exception' : unknown override specifier
- From: Igor Tandetnik
- RE: error C3646: 'exception' : unknown override specifier
- References:
- error C3646: 'exception' : unknown override specifier
- From: Morris Neuman
- RE: error C3646: 'exception' : unknown override specifier
- From: "Jialiang Ge [MSFT]"
- RE: error C3646: 'exception' : unknown override specifier
- From: Morris Neuman
- RE: error C3646: 'exception' : unknown override specifier
- From: "Jialiang Ge [MSFT]"
- error C3646: 'exception' : unknown override specifier
- Prev by Date: Re: malloc with Studio Express 2008 C++
- Next by Date: Re: error C3646: 'exception' : unknown override specifier
- Previous by thread: RE: error C3646: 'exception' : unknown override specifier
- Next by thread: Re: error C3646: 'exception' : unknown override specifier
- Index(es):
Relevant Pages
|