bug-cssc
[Top][All Lists]
Advanced

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

[Bug-cssc] [bug #58692] error: "Please include config.h first."


From: Ryan Schmidt
Subject: [Bug-cssc] [bug #58692] error: "Please include config.h first."
Date: Fri, 3 Jul 2020 04:00:09 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

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

                 Summary: error: "Please include config.h first."
                 Project: GNU CSSC
            Submitted by: ryandesign
            Submitted on: Fri 03 Jul 2020 08:00:06 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

cssc 1.4.1 fails to build on OS X 10.10:


In file included from version.cc:2:
In file included from ./version.h:18:
In file included from
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdio:99:
In file included from
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:23:
../gl/lib/unistd.h:135:3: error: "Please include config.h first."
 #error "Please include config.h first."
  ^
../gl/lib/unistd.h:137:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
_GL_INLINE_HEADER_BEGIN
^
../gl/lib/unistd.h:620:1: error: expected unqualified-id
_GL_CXXALIAS_SYS (close, int, (int fd));
^
../gl/lib/stdio.h:276:5: note: expanded from macro '_GL_CXXALIAS_SYS'
    _GL_EXTERN_C int _gl_cxxalias_dummy
    ^
../gl/lib/stdio.h:189:23: note: expanded from macro '_GL_EXTERN_C'
# define _GL_EXTERN_C extern "C"
                      ^
In file included from version.cc:2:
In file included from ./version.h:18:
In file included from
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdio:99:
In file included from
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:23:
../gl/lib/unistd.h:1894:1: error: unknown type name '_GL_INLINE_HEADER_END'
_GL_INLINE_HEADER_END
^
In file included from version.cc:2:
In file included from ./version.h:18:
In file included from
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdio:99:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:368:1:
error: expected unqualified-id
namespace std {
^
5 errors generated.


I reported this once before in #43360 and it was believed to have been fixed
in 1.4.1, but evidently is not.

The patch I provided in that ticket in 2014 still fixes it:

https://trac.macports.org/browser/trunk/dports/devel/cssc/files/patch-src-version.cc.in.diff?rev=126199




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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