unknown warning showing up

ld: warning: dylib (/usr/local/Cellar/gcc/11.2.0/lib/gcc/11/libstdc++.dylib) was built for newer macOS version (11.3) than being linked (11.0)

this warning is showing up in the terminal every time I run C++ code in it using g++ compiler. how to get rid of it ?

I have tried to reinstall Xcode- command line tools but it doesn't seem to solve the problem.

Answered by Ellysium in 696110022

solved : reinstall GCC

Accepted Answer

solved : reinstall GCC

unknown warning showing up
 
 
Q