BirdaoGwra 0 Newbie Poster

Hi,
Sorry, If this question is not appropriate to this section. Admin, kindly move this qeustion.
I recently changed my tdm-gcc-5.1.0-3 to tdm-gcc-9.2.0, 32 bit. Before changing the gcc my software was working fine, compiled without any problem. But today I installed gcc 9.2.0 and I can't compile my sofware anymore. I am getting an error -

C:/TDM-GCC-32/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:/TDM-GCC-32/bin/../lib/gcc/mingw32/9.2.0\libstdc++.a(bad_alloc.o):bad_alloc.cc:(.text+0x10): multiple definition of `std::bad_alloc::~bad_alloc()'; C:/TDM-GCC-32/bin/../lib/gcc/mingw32/9.2.0/libstdc++.dll.a(d005218.o):(.text+0x0): first defined here
C:/TDM-GCC-32/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:/TDM-GCC-32/bin/../lib/gcc/mingw32/9.2.0\libstdc++.a(eh_exception.o):eh_exception.cc:(.text+0x0): multiple definition of `std::exception::~exception()'; C:/TDM-GCC-32/bin/../lib/gcc/mingw32/9.2.0/libstdc++.dll.a(d005266.o):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status

Is this related to wxWidgets or GCC? I just recompiled wxWidgets with TDM-GCC-9.

Thank you for giving me your time.
Happy Christmas.