Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

compile error in keil but success in yotta because of C++11 #75

@sunsmilearm

Description

@sunsmilearm

I tried the mbed client example and exported it into keil. This project can be compiled in yotta but failed in Keil. The error is about the new C++11 feature "=delete" in the code committed in "core-util". Like "PoolAllocator(const PoolAllocator&) = delete;"
Error message is
C:\mbed-client-examples-master-new\mdk\mbed-client-examples-master-new\Project_files\yotta_modules\core-util\core-util\PoolAllocator.h(51): error: #65: expected a ";"

I tried to add "--cpp11" in "options -> c/c++ -> Misc controls" but it still can't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions