This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build failure during test run with latest GCC


I just built the latest glibc with the latest GCC and then tried to 
run the glibc testsuite.  The build of some of the tests died with following
error, has anyone else seen this?  I am guessing that this may be due to a
new GCC error/warning but I didn't see any obvious change in the GCC log
that would have caused it.

Steve Ellcey
sellcey@cavium.com



In file included from tests-mbwc/tst_types.h:16:0,
                 from tests-mbwc/tsp_common.c:17,
                 from tests-mbwc/tst_iswalnum.c:7:
tests-mbwc/tst_iswalnum.c: In function â??tst_iswalnumâ??:
tests-mbwc/tst_funcs.h:210:6: error: macro expands to multiple statements [-Werror=multistatement-macros]
      {              \
      ^
tests-mbwc/tst_iswalnum.c:10:1: note: in expansion of macro â??TST_FUNC_ISWâ??
 TST_FUNC_ISW (ALNUM, alnum);
 ^~~~~~~~~~~~
tests-mbwc/tst_funcs.h:162:3: note: some parts of macro expansion are not guarded by this â??elseâ?? clause
   else
   ^~~~
tests-mbwc/tst_funcs.h:209:4: note: in expansion of macro â??TST_IF_RETURNâ??
    TST_IF_RETURN (S_ISW##_FUNC_)           \
    ^~~~~~~~~~~~~
tests-mbwc/tst_iswalnum.c:10:1: note: in expansion of macro â??TST_FUNC_ISWâ??
 TST_FUNC_ISW (ALNUM, alnum);
 ^~~~~~~~~~~~
tests-mbwc/tst_funcs.h:199:2: error: macro expands to multiple statements [-Werror=multistatement-macros]

(more deleted)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]