Re: Locally defined symbol imported

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You are suggesting that this class appears in a DLL. We would need to see the declaration
of the class, at least of the virtual method specified. Otherwise, it is really hard to
infer what has happened by depending upon ethereal vibrations to reveal the original code.
joe

On 17 May 2007 07:49:53 -0700, CedricCicada@xxxxxxxxx wrote:

I have a class named CLog. Its project has four configurations, one
for each combination of debug, non-debug, Unicode, and non-Unicode.
The release builds build correctly. The debug builds give me these
warnings:

LINK : warning LNK4049: locally defined symbol ""public: virtual
__thiscall CLog::~CLog(void)" (??1CLog@@UAE@XZ)" imported
LINK : warning LNK4049: locally defined symbol ""public: __thiscall
CLog::CLog(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (??
0CLog@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@

(except the Unicode version says "unsigned short" instead of "char").

I don't understand how symbols get imported. Where should I look to
find out why my class's symbols are being imported? Also, how serious
is this warning?

Thank you very much.

Rob Richardson
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Debugging win32 dll
    ... What is the declaration in C++ and what is the declaration in C#? ... Also, you can debug it by adding the project to the solution I believe, ... and making sure the debug version of the dll is the one that is bound to by ... > I've tested the function in a vsc++ console app, (just the code not as a ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: bad dll calling convention in debug only
    ... > Are you also using the debug version of the MFC library? ... I've tried both the release and debug version of the dll and get the same ... > declaration and perhaps it will be something I or someone else has run into. ...
    (microsoft.public.vb.general.discussion)
  • Re: Debugging win32 dll
    ... I'm getting into the function in the dll I know because it is ... Steve ... What is the declaration in C++ and what is the declaration in C#? ... you can debug it by adding the project to the solution I ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: 2.6.0-test9-mm1 (compile stats)
    ... Building fs/adfs: clean ... Building drivers/net: 31 warnings, 0 errors ... Building drivers/media: 1 warnings, 0 errors ... drivers/ide/ide.c:2470: warning: implicit declaration of function ...
    (Linux-Kernel)
  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)