c++ linkage vs c linkage

  • Thread starter ramasubramanian.rahul
  • Start date
R

ramasubramanian.rahul

i am trying to use memwatch (2.71) to track c++ bugs in my project. i
initially tried to run it using a small test program and it worked
properly without any hitch. but then when i try a platform wide
complation then i get the following error

/opt/toolchains/arm-linux-4.1.1/bin/arm-linux-g++ -Wall -mabi=aapcs-
linux -D_DEBUG_MSG_ -fPIC `pkg-config --cflags dbus-1 glib-2.0 debug-
message-service` -D_ARCH_ARM -D__LIMO_SEC_EXT__ -DED_PREFIX=\"/usr/lib
\" -Iapplication-framework/EventDelivery/common/include -c -o
exception.cpp
/opt/toolchains/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-
gnueabi/4.1.1/../../../../include/c++/4.1.1/new:86: error: previous
declaration of 'void operator delete(void*)' with 'C++' linkage
/usr/xocean/include/glib-2.0/memwatch.h:695: error: conflicts with new
declaration with 'C' linkage


have you heard of this bug before..it would be a great help if you can
throw some light on this

i am using
arm-linux-4.1.1/bin/arm-linux-gcc
and 2.6.15 kernel
 

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,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top