Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Silver-Fang opened this issue Feb 16, 2024 · 0 comments
Open

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

Silver-Fang opened this issue Feb 16, 2024 · 0 comments

Comments

@Silver-Fang
Copy link

#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
@Silver-Fang Silver-Fang changed the title std::locale destructor undefined std::locale [con/de]structor undefined Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant