mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 05:49:27 +01:00
C2English: no longer complain about unknown storage size
This commit is contained in:
parent
e617428a72
commit
afddfbdbc5
@ -382,6 +382,8 @@ if(not $force and $ret != 0) {
|
|||||||
$output =~ s/\s*\(declared at .*?\)//g;
|
$output =~ s/\s*\(declared at .*?\)//g;
|
||||||
$output =~ s/, note: declared here//g;
|
$output =~ s/, note: declared here//g;
|
||||||
$output =~ s#/usr/include/.*?.h:\d+:\d+:/##g;
|
$output =~ s#/usr/include/.*?.h:\d+:\d+:/##g;
|
||||||
|
$output =~ s/\s*error: storage size of.*?isn't known\s*//g;
|
||||||
|
$output =~ s/; did you mean '.*?'\?//g;
|
||||||
|
|
||||||
# don't error about undeclared objects
|
# don't error about undeclared objects
|
||||||
$output =~ s/error: '[^']+' undeclared\s*//g;
|
$output =~ s/error: '[^']+' undeclared\s*//g;
|
||||||
|
Loading…
Reference in New Issue
Block a user