mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix OSX GCC register warning.
This commit is contained in:
@@ -34,6 +34,8 @@ foreach my $line (<STDIN>) {
|
||||
$line =~ s!--accepting rule at line %d !--accepting rule at line %ld !g;
|
||||
# Fix compiler warning filenames
|
||||
$line =~ s!(#line \d+ ".*)_pretmp!$1!;
|
||||
# Fix 'register' storage class specifier is deprecated and incompatible with C++17
|
||||
$line =~ s!register !!g;
|
||||
|
||||
print "$line";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user