bugGNU nano - Bugs: bug #44609, compile error on 2.4.0 because of...

 
 

bug #44609: compile error on 2.4.0 because of __time_t

Submitted by:  Eric F <ief>
Submitted on:  Mon 23 Mar 2015 04:20:12 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Chris Allegretta <astyanax>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 17 Apr 2015 10:29:27 AM UTC, comment #5:

Fix was released in nano 2.4.1.

Benno Schulenberg <bens>
Project Administrator
Thu 26 Mar 2015 08:14:02 PM UTC, comment #4:

No need to redefine anything, just using time_t instead of __time_t fixes it, as Chris has done.

Benno Schulenberg <bens>
Project Administrator
Wed 25 Mar 2015 08:56:18 PM UTC, comment #3:

#if defined(_APPLE_) && defined(_MACH_)
#undef __time_t
#define __time_t time_t
#endif

I think something like that might help.

Anonymous
Mon 23 Mar 2015 04:43:00 PM UTC, comment #2:

Thanks! That was quick. ^^

Yes, that'd be nice. I doesn't hurt to have a “good copy”. Though, I've installed it now on my computer.

Eric F <ief>
Mon 23 Mar 2015 04:31:20 PM UTC, comment #1:

Hello,

This was actually fixed shortly after release when I noticed this same problem on win32. You are welcome to edit the src/text.c file and change that "__time_t" to just "time_t". I can create and put up a pre2.4.1 tarball later tonight if you need to install across many machines.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Mon 23 Mar 2015 04:20:12 PM UTC, original submission:

I just compiled nano-2.4.0 and had an error in `make`

Make stopped at:

I tried with `time_t timestamp` instead, and it passed.

Have been using the (2.3.99)pre-version, and they've built fine. So this must be something new.

// OS X 10.7.5, GCC 4.9.2

Eric F <ief>

 

(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 bens (Posted a comment)
  • -unavailable- added by astyanax (Posted a comment)
  • -unavailable- added by ief (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 0 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Apr 2015 10:29:27 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 02 Apr 2015 08:16:21 AM UTCbensSummaryCompile error 2.4.0 =>compile error on 2.4.0 because of __time_t
    Mon 23 Mar 2015 04:31:20 PM UTCastyanaxStatusNone=>Fixed
      Assigned toNone=>astyanax

    Back to the top


    Powered by Savane 3.1-cleanup1