Skip to content

Commit

Permalink
Merge pull request NASA-LIS#1453 from emkemp/fix/lis76_gfortran_pedantic
Browse files Browse the repository at this point in the history
Removed -Wpedantic debug flag for gfortran.
  • Loading branch information
jvgeiger authored Nov 15, 2023
2 parents e0c1125 + 2cedc03 commit f8a0f74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ldt/arch/Config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
}
elsif($sys_arch eq "Darwin_gfortran" || $sys_arch eq "linux_gfortran") {
$sys_opt = "-g -Wall -Wcharacter-truncation";
$sys_opt .= " -Wconversion-extra -Wextra -Wpedantic -Wrealloc-lhs";
$sys_opt .= " -Wconversion-extra -Wextra -Wrealloc-lhs";
$sys_opt .= " -Wrealloc-lhs-all";
# Run-time options
$sys_opt .= " -ffpe-trap=invalid,zero,overflow";
Expand Down
2 changes: 1 addition & 1 deletion lis/arch/Config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
#print "Using '-g'\n";
#$sys_opt = "-g";
$sys_opt = "-g -Wall -Wcharacter-truncation";
$sys_opt .= " -Wconversion-extra -Wextra -Wpedantic -Wrealloc-lhs";
$sys_opt .= " -Wconversion-extra -Wextra -Wrealloc-lhs";
$sys_opt .= " -Wrealloc-lhs-all";
# Run-time options
$sys_opt .= " -ffpe-trap=invalid,zero,overflow";
Expand Down
2 changes: 1 addition & 1 deletion lvt/arch/Config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
elsif($sys_arch eq "Darwin_gfortran" || $sys_arch eq "linux_gfortran") {
$sys_opt = "-g -Wall -Wcharacter-truncation";
$sys_opt .= " -Wconversion-extra -Wextra -Wpedantic -Wrealloc-lhs";
$sys_opt .= " -Wconversion-extra -Wextra -Wrealloc-lhs";
$sys_opt .= " -Wrealloc-lhs-all";
# Run-time options
$sys_opt .= " -ffpe-trap=invalid,zero,overflow";
Expand Down

0 comments on commit f8a0f74

Please sign in to comment.