Problem seems to be related to
gcc, can you please share your machine configuration?
OS : windows11 64 bit x64
also i am facing this error while checking gcc version
Hi thanks a lot for your help , it was indeed a gcc error . It occured most probably due to the version mismatch of gcc
However I solved it removing the old version and reinstalling the TDM-GCC