Skip to content

Commit

Permalink
remove failing gcc_version
Browse files Browse the repository at this point in the history
(recommendation from Mike)
  • Loading branch information
fangohr committed Jan 8, 2024
1 parent 03b742a commit 81b8fb7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions oommf/config/platforms/linux-arm64.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,6 @@ if {[string match g++ [file tail [lindex \

# Default warnings disable
set nowarn [list -Wno-non-template-friend]
if {[lindex $gcc_version 0]>=6} {
lappend nowarn {-Wno-misleading-indentation}
}
if {[lindex $gcc_version 0]>=8} {
# Allow strncpy to truncate strings
lappend nowarn {-Wno-stringop-truncation}
}
if {[info exists nowarn] && [llength $nowarn]>0} {
set opts [concat $opts $nowarn]
}
Expand Down

0 comments on commit 81b8fb7

Please sign in to comment.