bugncurses - Bugs: bug #45197, ncurses doen't want to compile...

 
 

bug #45197: ncurses doen't want to compile with GCC 5.1.0

Submitted by:  CHAOURAR Nabil <naboo>
Submitted on:  Wed 27 May 2015 04:01:43 PM UTC  
 
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.

 

Thu 28 May 2015 09:21:16 AM UTC, comment #3:

Once I'm done with the dependencies and so forth, there will be a new release. For the time being, that's where fixes are.

Thomas Dickey <dickey>
Project Administrator
Thu 28 May 2015 07:23:17 AM UTC, comment #2:

I just tested the version you have given me, and compilation went well.

The report was against the version located at : http://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz

Actually i encountered this problem while compiling openwrt,
so maybe i should report the new version to them.

Thanks for your quick response :)

CHAOURAR Nabil <naboo>
Wed 27 May 2015 11:20:37 PM UTC, comment #1:

So far, all of the reports dealing with gcc 5.x are for 5.9 with no patches. The current source is here:

http://invisible-island.net/datafiles/current/ncurses.tar.gz

(5.9.20150523)

Which version is this report against?

Thomas Dickey <dickey>
Project Administrator
Wed 27 May 2015 04:01:43 PM UTC, original submission:

The error was :

gcc -DHAVE_CONFIG_H -I../ncurses -I. -D_GNU_SOURCE -DNDEBUG -I. -I../include -O2 --param max-inline-insns-single=1200 -c ../ncurses/lib_gen.c -o ../objects/lib_gen.o
In file included from ../ncurses/curses.priv.h:283:0,
from ../ncurses/lib_gen.c:19:
_12629.c:835:15: error: expected ‘)’ before ‘int’
../include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
^
Makefile:790: recipe for target '../objects/lib_gen.o' failed

i managed to compile ncurses by modifying ncurses/base/MKlib_gen.sh:

line 65 : preprocessor="$1 -DNCURSES_INTERNALS -I../include"
to
line 65 : preprocessor="$1 -P -DNCURSES_INTERNALS -I../include"

i dont know if it helps.

CHAOURAR Nabil <naboo>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34102:  ncurses.patch added by naboo (616B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dickey (Posted a comment)
  • -unavailable- added by naboo (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 27 May 2015 04:01:43 PM UTCnabooAttached File-=>Added ncurses.patch, #34102

    Back to the top


    Powered by Savane 3.1-cleanup1