Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#63031 - [eclipse-cpp] Lots of symbol resolution errrors with GCC 9.1
Attached to Project:
Arch Linux
Opened by Nicola Mori (snack) - Friday, 28 June 2019, 16:20 GMT
Last edited by freswa (frederik) - Wednesday, 12 February 2020, 11:50 GMT
Opened by Nicola Mori (snack) - Friday, 28 June 2019, 16:20 GMT
Last edited by freswa (frederik) - Wednesday, 12 February 2020, 11:50 GMT
|
DetailsDescription:
Since the upgrade to eclipse-cpp 4.12 (i.e. CDT 2019-06) a lot of errors related to symbol resolution have begun to appear in the editor, e.g.: Symbol 'name' could not be resolved or: Type 'name' could not be resolved It seems that the issue is related to GCC 9.1, and that it has already been fixed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=548482 This issue is particularly nasty, making it almost impossible to comfortably edit source files; would it be possible to rebuild eclipse-cpp including the patch commit? Thanks. Additional info: * package version(s) eclipse-cpp 4.12-1 gcc 9.1.0-2 * link to upstream bug report, if any https://bugs.eclipse.org/bugs/show_bug.cgi?id=548482 Steps to reproduce: - Install eclipse-cpp 4.12-1 and gcc 9.1.0-2 - Open a C++ file in a C++ project - Verify that many symbols are not found (red underline) |
This task depends upon
https://www.eclipse.org/lists/cdt-dev/msg33623.html
https://www.eclipse.org/lists/cdt-dev/msg33665.html
Eidt: I just flagged eclipse-cpp out-of-date for incorporating CDT 9.8.1.
1) From:
https://ci.eclipse.org/cdt/job/cdt-master/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository/plugins/
download the nightly build of org.eclipse.cdt.core_6.8.100.2019mmyyddhhmm.jar (substitute mmyyddhhmm with the appropriate date string).
2) rename the file to org.eclipse.cdt.core_6.8.0.201905312053.jar
3) copy it to /usr/lib/eclipse/plugins/, overwriting the existing one
This worked for me with the nightly build of 28th June, but successive builds may have broken somethings so backup /usr/lib/eclipse/plugins/org.eclipse.cdt.core_6.8.0.201905312053.jar before trying.