c++ linkage vs c linkage

Discussion in 'C++' started by ramasubramanian.rahul@gmail.com, Sep 12, 2008.

  1. Guest

    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
    , Sep 12, 2008
    #1
    1. Advertising

  2. Michael DOUBEZ, Sep 12, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sönke Greve

    TabStrip Control with direct linkage?

    Sönke Greve, Jan 22, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    333
    Sönke Greve
    Jan 22, 2006
  2. Thomas Dorris

    JNI linkage issue

    Thomas Dorris, Jan 31, 2004, in forum: Java
    Replies:
    2
    Views:
    3,047
    Thomas Dorris
    Feb 2, 2004
  3. Mary
    Replies:
    1
    Views:
    3,974
    Thomas Fritsch
    Oct 11, 2004
  4. Don@NoSpam

    Devious linkage to enter Web site

    Don@NoSpam, Jul 5, 2004, in forum: HTML
    Replies:
    3
    Views:
    452
    brucie
    Jul 5, 2004
  5. Peter Saffrey

    RDF/XLink for linkage in XML Schema

    Peter Saffrey, Jul 1, 2003, in forum: XML
    Replies:
    0
    Views:
    864
    Peter Saffrey
    Jul 1, 2003
Loading...

Share This Page