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 Schmidt
Subject: [bug #63866] error: expected expression
Date: Sat, 4 Mar 2023 04:00:25 -0500 (EST)

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

                 Summary: error: expected expression
                   Group: GNU gettext
               Submitter: ryandesign
               Submitted: Sat 04 Mar 2023 09:00:21 AM UTC
                Category: Build
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 04 Mar 2023 09:00:21 AM UTC By: Ryan Schmidt <ryandesign>
gettext fails to build on OS X 10.9 with Xcode v6.2's Apple LLVM version 6.0
(clang-600.0.57) (based on LLVM 3.5svn).

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/222301/steps/install-port/logs/stdio


x-c.c:1486:7: warning: declaration does not declare anything
[-Wmissing-declarations]
      FALLTHROUGH;
      ^~~~~~~~~~~
../libgrep/attribute.h:150:21: note: expanded from macro 'FALLTHROUGH'
#define FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
../config.h:2844:36: note: expanded from macro '_GL_ATTRIBUTE_FALLTHROUGH'
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
                                   ^~~~~~~~~~~~~
x-c.c:1509:15: error: expected expression
              FALLTHROUGH;
              ^
../libgrep/attribute.h:150:21: note: expanded from macro 'FALLTHROUGH'
#define FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
                    ^
../config.h:2844:36: note: expanded from macro '_GL_ATTRIBUTE_FALLTHROUGH'
# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
                                   ^


It builds fine with later and earlier macOS / Apple clang versions.

I reported the same problem in neovim some years ago; see
https://github.com/neovim/neovim/issues/10125 for the report and how they
fixed it.







    _______________________________________________________

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]