mainGnuCOBOL (formerly OpenCOBOL) - Support: sr #108619, Compilation error when building...

 
 

sr #108619: Compilation error when building without ncurses

Submitter:  None
Submitted:  Sat 26 Jul 2014 05:55:36 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Done
Privacy:  Public Assigned to:  btiffin
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 17 Jul 2015 05:15:37 AM UTC, comment #1: 

Thanks for the patch.

screenio.c was fixed (and has been extended a few times since 344).  Try Rev 626.  It may include better ncurses detection for your system as well, which would be the better goal for the project.

Brian Tiffin <btiffin>
Group administrator
Sat 26 Jul 2014 05:55:36 PM UTC, original submission:  

I'm building revision 344 in the trunk.

The configure script doesn't believe that I have ncurses, so COB_GEN_SCREENIO isn't defined when screenio.c is compiled, and the compiler sees the stub definitions of cob_field_display() and cob_field_accept().  These don't match the prototypes declared in common.h.

The attached patch fixes the compilation problem.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31778:  p1.diff added by None (1MiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by btiffin (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-17 btiffin StatusNone Done
        Assigned toNone btiffin
        Open/ClosedOpen Closed
    2014-07-26 None Attached File- Added p1.diff, #31778

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code