Tagged: CDT Toolchain
April 6, 2019 at 10:59 pm #612187
I upgraded to DevStyle 18.104.22.168903292252 and discovered that if I create a new C++ project and select anything other than Executable | Empty Project, that the Toolchains selection box is empty and defaults to Cross GCC. There is no way to select MinGW GCC. Screenshot attached.
Using Eclipse 2019-03 (4.11.0) and CDT 22.214.171.124903092251 on Windows 10 ver. 1809.
- This topic was modified 4 years, 7 months ago by kevinsikes. Reason: Add Eclipse and CDT versions
Attachments:You must be logged in to view attached files.April 6, 2019 at 11:10 pm #612190April 8, 2019 at 9:33 am #612232
@kevinsikes, sorry you are running into this issue 🙁 and Thanks for the details provided. I filed a bug to investigate the regression.
Aaron LaraApril 12, 2019 at 11:28 am #612617
Great news! We have a fix for this issue and it will be available in our next release. It would be helpful if you are available to give the fix a try by adding a patch to your installation. To do so follow the instructions:
0. Download and extract the attached
1. Close Eclipse.
2. Paste the extracted .jar file into
Eclipse_Install_Dir/ide/pluginsand make sure you override the existing one.
3. Start Eclipse and verify the issue is solved.
Attachments:You must be logged in to view attached files.April 12, 2019 at 3:23 pm #612635
This solves the GUI part of the problem (The toolchains are shown without the white box). However, even though I select MinGW GCC, which is the third item in the Toolchains listbox, Eclipse still uses Cross GCC, which is the first item in the listbox, when I get to the end of the new project wizard.
KevinApril 12, 2019 at 3:56 pm #612636
Kevin, I just tested the same with and without DevStyle and the Toolchains remain displaying
Cross GCCregardless what I choose. I don’t know how it’s supposed to work to be honest, but that issue is unrelated to DevStyle. Sorry I don’t know much about CDT.April 12, 2019 at 3:56 pm #612637
Interestingly, Eclipse suffers from this bug with its own dark theme — without DevStyle installed. Perhaps the bug lies with the theming engine in Eclipse or CDT.April 12, 2019 at 3:58 pm #612638
We had the same thought and cross-posted :). Thanks for the quick responses!
KevinApril 12, 2019 at 4:08 pm #612640
Ha! Yeah, I was thinking the same. Unfortunately this is rather an eclipse (CDT) bug itself. As you said, it’s possibly related to the theming engine.
I have seen issues like this when code tries to calculate colors based on the current background color resulting in out of bound values. But in this case we don’t even get any error in logs (might be swallowed). But who knows.
In this case the best is to report the issue to eclipse guys and hope they fix it :(.
- This reply was modified 4 years, 7 months ago by Aaron Lara.