Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Commit 00fcda9

Browse files
Change xlclang errors to warnings for now
1 parent 44baf03 commit 00fcda9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/lib/zopen-build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ setEnv()
307307
# Confirm xlclang is at least 1.0.0
308308
ccraw=$(xlclang -qversion | grep 'IBM C/C++ for Open Enterprise Languages on z/OS' | awk '{print substr($9,2)}')
309309
if [ "${ccraw}x" = "x" ]; then
310-
printError "xlclang compiler specified, but it is not a 'IBM C/C++ for Open Enterprise Languages on z/OS' compiler"
310+
printWarning "xlclang compiler specified, but it is not a 'IBM C/C++ for Open Enterprise Languages on z/OS' compiler"
311311
fi
312312
v=${ccraw%%.*}
313313
vr=${ccraw%.*}
@@ -327,7 +327,7 @@ setEnv()
327327
vr=${ccraw%.*}
328328
r=${vr##*.}
329329
if [ ${v} -lt 1 ] ; then
330-
printError "Need to be running at least IBM C++ for Open Enterprise Languages on z/OS 1"
330+
printWarning "Need to be running at least IBM C++ for Open Enterprise Languages on z/OS 1"
331331
fi
332332
fi
333333

0 commit comments

Comments
 (0)