[Top][All Lists]

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

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

From: Ryan Schmidt
Subject: [Bug-cssc] [bug #43360] #error "Please include config.h first."
Date: Sun, 05 Oct 2014 08:15:36 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25


                 Summary: #error "Please include config.h first."
                 Project: GNU CSSC
            Submitted by: ryandesign
            Submitted on: Sun 05 Oct 2014 08:15:35 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



CSSC 1.4.0 builds on OS X 10.7 and later, but fails on OS X 10.6 (and possibly
earlier) due to the same problem reported on the bug mailing list:

../gl/lib/unistd.h:135:3: error: #error "Please include config.h first."


and supposedly fixed with this commit:


I backported that to 1.4.0 and it now failed to build with a very similar
error message with a different source file, version.cc. version.cc doesn't
directly include unistd.h, but does include stdio.h; perhaps on this version
of OS X stdio.h eventually includes unistd.h. In any case making a similar
change to version.cc.in allowed the build to succeed:


Side note: I'm unclear why you're sometimes writing:

#include <config.h>

Since it's a file local to your source directory, shouldn't it always be:

#include "config.h"


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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