Skip to content

Commit f563893

Browse files
committed
polishing
thanks for the feedback
1 parent 4378a67 commit f563893

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
1212
add_compile_options(-Wextra)
1313
add_compile_options(-Wimplicit-procedure)
1414
add_compile_options(-Wconversion-extra)
15+
# -pedantic-errors triggers a false positive for optional arguments of elemental functions,
16+
# see test_optval and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95446
1517
add_compile_options(-pedantic-errors)
1618
if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
1719
add_compile_options(-std=f2018)

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ set(SRC
3131
stdlib_experimental_ascii.f90
3232
stdlib_experimental_error.f90
3333
stdlib_experimental_kinds.f90
34-
stdlib_experimental_system.F90 # Captital extension for a reason?
34+
stdlib_experimental_system.F90
3535
${outFiles}
3636
)
3737

0 commit comments

Comments
 (0)