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

Commit

Permalink
Change xlclang errors to warnings for now
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTodorovskiIBM committed Aug 23, 2022
1 parent 44baf03 commit 00fcda9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/lib/zopen-build
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ setEnv()
# Confirm xlclang is at least 1.0.0
ccraw=$(xlclang -qversion | grep 'IBM C/C++ for Open Enterprise Languages on z/OS' | awk '{print substr($9,2)}')
if [ "${ccraw}x" = "x" ]; then
printError "xlclang compiler specified, but it is not a 'IBM C/C++ for Open Enterprise Languages on z/OS' compiler"
printWarning "xlclang compiler specified, but it is not a 'IBM C/C++ for Open Enterprise Languages on z/OS' compiler"
fi
v=${ccraw%%.*}
vr=${ccraw%.*}
Expand All @@ -327,7 +327,7 @@ setEnv()
vr=${ccraw%.*}
r=${vr##*.}
if [ ${v} -lt 1 ] ; then
printError "Need to be running at least IBM C++ for Open Enterprise Languages on z/OS 1"
printWarning "Need to be running at least IBM C++ for Open Enterprise Languages on z/OS 1"
fi
fi

Expand Down

0 comments on commit 00fcda9

Please sign in to comment.