bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63866] error: expected expression


From: Ryan Carsten Schmidt
Subject: [bug #63866] error: expected expression
Date: Fri, 26 Jan 2024 10:21:16 -0500 (EST)

Follow-up Comment #4, bug#63866 (group gettext):

I don't think it has been fixed in that version of gnulib.

These warnings occur while building gnulib:


unistr/u8-uctomb-aux.c:53:7: warning: declaration does not declare anything
[-Wmissing-declarations]
      FALLTHROUGH;
      ^~~~~~~~~~~
./attribute.h:150:21: note: expanded from macro 'FALLTHROUGH'
#define FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
                    ^~~~~~~~~~~~~~~~~~~~~~~~~


and then the build fails with:


test-assert-h-c++.cc:30:26: error: too few arguments provided to function-like
macro invocation
static_assert (2 + 2 == 4);
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:497:9:
note: macro
      'static_assert' defined here
#define static_assert(__b, __m) \
        ^
test-assert-h-c++.cc:30:1: error: C++ requires a type specifier for all
declarations
static_assert (2 + 2 == 4);
^~~~~~~~~~~~~
2 errors generated.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63866>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]