aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2020-11-30 15:24:33 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2020-11-30 15:24:33 +0000
commit53cdcf1d604f55a20e40b4b1060af31c16e0d253 (patch)
tree4b257b662f40068274b2d6a4390a6e97fb515db0
parent67a459170ce664a531d684337c57df809d528a9b (diff)
downloadfpm-53cdcf1d604f55a20e40b4b1060af31c16e0d253.tar.gz
fpm-53cdcf1d604f55a20e40b4b1060af31c16e0d253.zip
Fixes: for Windows release build using mingw-w64-gcc 8.1.0
Workaround for compiler bug when building Windows release. Update M_CLI2 revision to include same fix.
-rw-r--r--fpm/fpm.toml2
-rw-r--r--fpm/src/fpm_strings.f902
2 files changed, 2 insertions, 2 deletions
diff --git a/fpm/fpm.toml b/fpm/fpm.toml
index 7afc0a0..e4f4437 100644
--- a/fpm/fpm.toml
+++ b/fpm/fpm.toml
@@ -12,7 +12,7 @@ tag = "v0.2.1"
[dependencies.M_CLI2]
git = "https://github.com/urbanjost/M_CLI2.git"
-rev = "893cac0ce374bf07a70ffb9556439c7390e58131"
+rev = "e59fb2bfcf36199f1af506f937b3849180454a0f"
[[test]]
name = "cli-test"
diff --git a/fpm/src/fpm_strings.f90 b/fpm/src/fpm_strings.f90
index a6511c9..d1f5150 100644
--- a/fpm/src/fpm_strings.f90
+++ b/fpm/src/fpm_strings.f90
@@ -155,7 +155,7 @@ subroutine split(input_line,array,delimiters,order,nulls)
select case (ilen)
- case (:0) ! command was totally blank
+ case (0) ! command was totally blank
case default ! there is at least one non-delimiter in INPUT_LINE if get here
icol=1 ! initialize pointer into input line