[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Build plugin: error/warning detection currently broken ?
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2022-09-16 22:20:26
Message-ID: 2598161.BddDVKsqQX () unknownc4d9870202f1
[Download RAW message or body]

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]

Alex


--------
[1] https://github.com/KDE/kate/commit/7753a3c037a1c94e7bec81dbf1978cb9c11e45de

[Attachment #3 (unknown)]

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">current \
git does not recognize my error messages and warnings (gcc 12) as errors or warnings \
anymore.</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">It \
looks like it's this commit:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><a \
href="https://github.com/KDE/kate/commit/7753a3c037a1c94e7bec81dbf1978cb9c11e45de">https://github.com/KDE/kate/commit/7753a3c037a1c94e7bec81dbf1978cb9c11e45de</a></p>
 <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The \b \
breaks it.</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Below \
is one error and one warning message which are both not detected as error/warning. I \
changed it to test for &quot;error:&quot; and &quot;warning:&quot;, which makes it \
work for me (but I haven't tested yet with other compilers)</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span \
style="background-color:#ffffff;"><span style="font-family:monospace;"><span \
style="color:#000000;">error: ‘as' was not declared in this \
scope</span></span></span><br /><span style="background-color:#ffffff;"><span \
style="color:#000000;">warning: unused variable ‘error' \
[-Wunused-variable]</span></span><br /></p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Alex</p> <br \
/></body> </html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic