473,378 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

name mangling under Visual 8

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(cl ass
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char const &)"
(??0Win32DebugAppender@log4cpp@@QAA@ABV?$basic_str ing@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_stri ng@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_stri ng@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.
May 21 '07 #1
1 1874
On 21 Maj, 14:22, mosfet <john....@anonymous.orgwrote:
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(cl ass
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.

--
Erik Wikström

May 21 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Steven Bethard | last post by:
Philippe C. Martin wrote: > class Debug_Stderr: > __m_text = '' > __m_log_text = None > __m_dbg = None > __m_refresh_count = 0 <rant> I don't see the benefit in 99.9% of cases for...
4
by: sunny | last post by:
Hi, I was trying to call a function in an an asm file from a C file(driver). In c file the funcrtion is defined as: extern int foo(int,int); In the asm file the function is defined as _foo. ...
1
by: Tim Slattery | last post by:
Does the C++ language standard mandate a particular name-mangling method? I'm trying to use the Entrust toolkit to create a C++ program that encrypts and decrypts files. Entrust supplies header...
6
by: yyy | last post by:
my question is rather theoretical than practical in the pure programming aspect... is "name mangling" the same as "name decorating" ? browsing the web, you might find multiple people saying...
1
by: noleander | last post by:
I need to use a library supplied by someone else: libjpeg.lib. This is a plain C library. I do not have the source code. I do have the header *.h files. When I run dumpbin on the libjpeg.lib,...
6
by: David Wade | last post by:
Folks, Does any one know of any "name mangling" software that allows standard C with long names to be linked? Any suggestions for a better place to look? I have tried putting various searchs...
5
by: Subhransu Sahoo | last post by:
Hi All, Does the C++ standard tell function overloading can't be done with the return types of two functions ? If so, is it true that the name mangling scheme does not take the return type into...
8
by: sam_cit | last post by:
Hi Everyone, I read somwhere that c++ compiler does name mangling of functions which is why c source code can't invoke functions from object files that were generated using c++ compiler. Can...
4
by: jason.cipriani | last post by:
Does anybody know if C++0x is going to change C++ name mangling at all? Such as, standardizing name mangling instead of leaving it up to the compiler? Jason
14
by: Megalo | last post by:
why not make "name mangling" of C++ standard so should be possible to call the classes and the functions of C++ from other C++ compiler thanks
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.