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
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