<p></p>
<p>If in the build settings a compiler error regular expression is defined, both that expression as well as the default behaviour is used to identify error file name and line number in compiler output lines. This lead for e. g. the following output from a gcc</p>
<p>In file included from /home/torsten/projects/bar/bar/common/configvalues.c:33:0:<br>
/home/torsten/projects/bar/bar/common/configvalues.h:676:2: warning: #warning obsolete [-Wcpp]</p>
<p>to 2 errors resp. warnings in the message window, but only the second line is a warning.</p>
<p>I identified the problem is probably in the function</p>
<p>msgwindow.c: msgwin_parse_compiler_error_line()</p>
<p>where filetypes_parse_error_message() is called. If it returns FALSE the default way to identifier compiler error/warning messages without the regular expression is called. This is even the case when the user regular expression is valid, but does not match to a particular line.</p>
<p>Short: the function</p>
<p>filetypes_parse_error_message()</p>
<p>should return TRUE, too if the regular expression does not match resp. the called function g_regex_match() return FALSE.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2817">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6VETYUS726PSNIDPDTQF2RVANCNFSM45YYG6JA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5U6WHPIJVMXXRFXGDTQF2RVA5CNFSM45YYG6JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NQJLBMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2817",
"url": "https://github.com/geany/geany/issues/2817",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>