Compiler randomness

The C++ compiler

"C:/Programy/Programming/Qt/Qt_5_14_1/Tools/mingw730_64/bin/mingw32-make.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/Users/abcd1/Documents/Qt_Projects/poco-master-build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Programy/Programming/Qt/Qt_5_14_1/Tools/mingw730_64/bin/mingw32-make.exe -f Makefile cmTC_7167c/fast && C:/Programy/Programming/Qt/Qt_5_14_1/Tools/mingw730_64/bin/mingw32-make.exe  -f CMakeFiles\cmTC_7167c.dir\build.make CMakeFiles/cmTC_7167c.dir/build
mingw32-make.exe[1]: Entering directory 'C:/Users/abcd1/Documents/Qt_Projects/poco-master-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7167c.dir/testCXXCompiler.cxx.obj
C:\Programming\Qt\Qt_5_14_1\Tools\mingw730_64\bin\mingw32-make.exe    -o CMakeFiles\cmTC_7167c.dir\testCXXCompiler.cxx.obj -c C:\Users\2017\Documents\Qt_Projects\poco-master-build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
C:\Programming\Qt\Qt_5_14_1\Tools\mingw730_64\bin\mingw32-make: invalid option -- c
Usage: mingw32-make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-w64-mingw32
Report bugs to <bug-make@gnu.org>
mingw32-make.exe[1]: *** [CMakeFiles\cmTC_7167c.dir\build.make:77: CMakeFiles/cmTC_7167c.dir/testCXXCompiler.cxx.obj] Error 2
mingw32-make.exe[1]: Leaving directory 'C:/Users/abcd1/Documents/Qt_Projects/poco-master-build/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [Makefile:126: cmTC_7167c/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)

CMake Error at C:/Programy/Programming/cmake_3_24/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62 (message):
– The CXX compiler identification is unknown
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - failed
– Check for working CXX compiler: C:/Programy/Programming/Qt/Qt_5_14_1/Tools/mingw730_64/bin/mingw32-make.exe
– Check for working CXX compiler: C:/Programy/Programming/Qt/Qt_5_14_1/Tools/mingw730_64/bin/mingw32-make.exe - broken
– Configuring incomplete, errors occurred!
See also “C:/Users/abcd1/Documents/Qt_Projects/poco-master-build/CMakeFiles/CMakeOutput.log”.
See also “C:/Users/abcd1/Documents/Qt_Projects/poco-master-build/CMakeFiles/CMakeError.log”.

Idk what this thing is, whatever i put it doesn’t work. In the past i specified gcc and g++ as native compilers unging MinGW Make, now it doens’t work and whatever i put some errors occur, does anyone knwo what to do?