Skip to content

std::locale [con/de]structor undefined #145

@Ebola-Chan-bot

Description

@Ebola-Chan-bot
#include <locale>
void setup() {
std::locale L;
}

void loop() {
}
C:\Users\vhtmf\AppData\Local\Temp\arduino\sketches\52F23F0CFDD118EC78D3909BB8E326BF\sketch\Functional.ino.cpp.o: In function `setup':
C:\Users\vhtmf\Documents\Arduino\libraries\Cpp_Standard_Library\examples\Functional/Functional.ino:3: undefined reference to `std::locale::locale()'
C:\Users\vhtmf\Documents\Arduino\libraries\Cpp_Standard_Library\examples\Functional/Functional.ino:3: undefined reference to `std::locale::~locale()'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

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