Skip to content

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

Open
@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

Activity

changed the title [-]std::locale destructor undefined[/-] [+]std::locale [con/de]structor undefined[/+] on Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      std::locale [con/de]structor undefined · Issue #145 · arduino/ArduinoCore-sam