]> Savannah Git Hosting - gnulib.git/commit
tests: port better to XLC 12.01
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Nov 2020 22:51:38 +0000 (14:51 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Nov 2020 22:52:22 +0000 (14:52 -0800)
commit5fd2ae0fa3ecc9186d228aca81cbbc768be85685
treec62d0ea7b0894382fac831995f378cdcad32b7a0
parent822e1fc22e339f406afd1b382431ee29afb4e8f7
tests: port better to XLC 12.01

* tests/test-argmatch.c (CHECK): Do not use -1 as a subscript,
even in code that is not executed, as IBM XLC 12.01 complains "The
subscript -1 is less than zero."
* tests/test-stdint.c (verify_width): Pass an (unused) 3rd
argument to _GL_VERIFY, as ISO C requires.  Otherwise, IBM XLC
12.01 complains "The invocation of macro _GL_VERIFY contains fewer
arguments than are required by the macro definition."
ChangeLog
tests/test-argmatch.c
tests/test-stdint.c