Build plugin: error/warning detection currently broken ?
Alexander Neundorf
neundorf at kde.org
Sat Sep 17 10:23:10 BST 2022
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
More information about the KWrite-Devel
mailing list