I'm working at re-acquainting myself with c++ and I'm working on the 2020 standard and I'm using FreeBSD 13.1. When compiling my code I am using these options:
I am running into an issue where I import <formatting> but when I try to use the format() function, I am getting an error that states "error: use of undeclared identifier 'format'".
I'm confused by the error ...from what I've found so far, it seems like there shouldn't be an issue. Am I missing something?
clang++ -Wall -pedantic-errors -pedantic -std=c++2a -fmodules
.I am running into an issue where I import <formatting> but when I try to use the format() function, I am getting an error that states "error: use of undeclared identifier 'format'".
I'm confused by the error ...from what I've found so far, it seems like there shouldn't be an issue. Am I missing something?