From d1e3a19375c44f7062e2acc0b74e960a7040fc8f Mon Sep 17 00:00:00 2001 From: Hironobu Yamashita Date: Tue, 13 Jul 2021 10:59:14 +0000 Subject: pdftexdir, chktex: Avoid MSVC compiler error C2059 for regex/regexec.c git-svn-id: svn://tug.org/texlive/trunk@59914 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/chktex/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Build/source/texk/chktex/ChangeLog') diff --git a/Build/source/texk/chktex/ChangeLog b/Build/source/texk/chktex/ChangeLog index 46cb3e45174..2424c024905 100644 --- a/Build/source/texk/chktex/ChangeLog +++ b/Build/source/texk/chktex/ChangeLog @@ -1,3 +1,12 @@ +2021-07-13 Hironobu Yamashita + + * regex/regexec.c: Avoid MSVC compiler error. + -> error C2059: syntax error: ':' + MSVC does not allow empty expression for ternary + conditional operator (?:) which is a GNU C extension. + https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html + https://stackoverflow.com/questions/3319075/ + 2021-07-13 Hironobu Yamashita * regex/regex_internal.h: sync with pdftexdir/regex 2017-02-16. -- cgit v1.2.3