[SOLVED] C++14: undefined reference to operator delete

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] C++14: undefined reference to operator delete

    Hello community,
    when I build my project using "C++11" (in Project Options -> Compiler -> C++ Language Standard), everything works fine.
    When I use "C++14", I get lots of linker error messages saying "In function 'MyClass::~MyClass()': undefined reference to 'operator delete(void*, unsigned int)'.

    What is this and is there a way to fix it?

    Edit: Sorry, forgot to tell: I am using Embedded Studio for ARM 3.34 on Windows 7 x64.

    Thanks,
    Achim

    The post was edited 3 times, last by Achim O. ().

  • Hello,

    Thank you for your inquiry.
    C++14 is not supported in the current ES versions.
    It is based on STLPort with some extensions which is based on an older standard.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.