Re: Build plugin: error/warning detection currently broken ?
Alexander Neundorf <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <4450816.cEBGB3zze1@unknown0090f5ef9f13> |
On Samstag, 17. September 2022 00:20:26 CEST Alexander Neundorf wrote: > Hi, > > current git does not recognize my error messages and warnings (gcc 12) as > errors or warnings anymore. > It looks like it's this commit: > https://github.com/KDE/kate/commit/7753a3c037a1c94e7bec81dbf1978cb9c11e45de[ > 1] > > The \b breaks it. > Below is one error and one warning message which are both not detected as > error/ warning. I changed it to test for "error:" and "warning:", which > makes it work for me (but I haven't tested yet with other compilers) > error: ‘as’ was not declared in this scope > warning: unused variable ‘error’ [-Wunused-variable] if I find the time, I'd like to extract the warning/error matching into a separate class with a unit test (so we can make sure it doesn't break). Where should I put the test, kate/addons/katebuild-plugin/test/ maybe ? (are the file sin that directory still used actually) ? Alex