mainGNU indent - Support: sr #110390, two errors building indent 2.2.12...

 
 

sr #110390: two errors building indent 2.2.12 on High Sierra

Submitter:  None
Submitted:  Fri 04 Dec 2020 10:33:24 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  Mac OS
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 19 Dec 2022 10:20:43 AM UTC, comment #1: 

The locale.h issue also breaks building on NetBSD.

Thomas Klausner <tk>
Fri 04 Dec 2020 10:33:24 PM UTC, original submission:  

Environment
Apple HIGH SIERRA,
clang +Apple LLVM version 10.0.0
from Xcode 10.1

indent.c
guards the include of locale.h,
but configure is not setup to handle the flag
in all the other sources locale.h is unguarded

args.c
does not find the definition of strdup

setting the XOPEN level is not needed , ( it hurts even )
commenting the three lines fixes the build

















Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tk (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code