Hi,
Has anyone else noticed an issue in Eclipse 2022-06 (recently updated from 2022-03, so CDT 10.7.0.202206081808) where the build command is ending up with static libraries being added twice?
I've attached zip file that's got two projects in it. One is a static library project with just one class and a trivial function in it, the other is an executable just with main and some trivial code.
When I build it (using MinGW on Windows, v 11.2 I think), what I'm seeing it:
13:19:35 **** Incremental Build of configuration Debug for project ZZZStaticLibUser ****
Info: Internal Builder is used for build
g++ -std=c++17 "-IC:\\Workspace\\ZZZStaticLib" -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\ZZZStaticLibUser.o" "..\\src\\ZZZStaticLibUser.cpp"
g++ "-LC:\\Workspace\\ZZZStaticLib\\Debug" -o ZZZStaticLibUser.exe "src\\ZZZStaticLibUser.o" -lZZZStaticLib -lZZZStaticLib
13:19:36 Build Finished. 0 errors, 0 warnings. (took 1s.569ms)
As you can see, there are two "-lZZZStaticLib" parameters on the command line.
I'm pretty sure this is a new thing.