name mangling under Visual 8

M

mosfet

Hi,

I am trying to compile log4cpp under pocket pc.
I have done some modifications to get it to compile on this platform and
now I have a linker error :

testmain.obj : error LNK2019: unresolved external symbol "public:
__cdecl log4cpp::Win32DebugAppender::Win32DebugAppender(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??0Win32DebugAppender@log4cpp@@QAA@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function wmain

It seems testmain cannot find
??0Win32DebugAppender@log4cpp@@QAA@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
appender = new log4cpp::Win32DebugAppender(std::string("default"));



I have dumped exported symbols from log4cpp and I get this :
??0Win32DebugAppender@log4cpp@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z


the only difference is @@QAE@ instead of @@QAA@. So my question is what
does it mean ?

I am using visual studio 2005.
 
?

=?iso-8859-1?q?Erik_Wikstr=F6m?=

Hi,

I am trying to compile log4cpp under pocket pc.
I have done some modifications to get it to compile on this platform and
now I have a linker error :

testmain.obj : error LNK2019: unresolved external symbol "public:
__cdecl log4cpp::Win32DebugAppender::Win32DebugAppender(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"

[snip]

This is very platform specific, try microsoft.public.vc or one of its
subgroups for better support. This groups is for questions about the C+
+ language only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top