bugGNU CSSC - Bugs: bug #43360, #error "Please include...

 
 

bug #43360: #error "Please include config.h first."

Submitted by:  Ryan Schmidt <ryandesign>
Submitted on:  Sun 05 Oct 2014 08:15:35 AM UTC  
Votes:  1  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 05 Oct 2014 08:15:35 AM UTC, original submission:

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:

http://lists.gnu.org/archive/html/bug-cssc/2014-09/msg00003.html

and supposedly fixed with this commit:

http://git.savannah.gnu.org/cgit/cssc.git/commit/?id=9737f41b5d2a49e61061e9f896b5a9ae19e3a3ac

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:

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

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

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

Ryan Schmidt <ryandesign>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by egallager (Voted in favor of this item)
  • -unavailable- added by ryandesign (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 1 encouragement so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 11 Oct 2014 12:59:03 AM UTCegallagerCarbon-Copy-=>Added egallager

    Back to the top


    Powered by Savane 3.1-cleanup1