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


    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,
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    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 contact us per e-mail.
    The following contact form can be used for this: Contact Us