bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: host-ncurses 5.9 compiling fails on fedora 22 x86_64 distribution


From: Mike Gran
Subject: Re: host-ncurses 5.9 compiling fails on fedora 22 x86_64 distribution
Date: Mon, 8 Jun 2015 16:11:51 +0000 (UTC)

On Monday, June 8, 2015 5:17 AM, FengHaibo <address@hidden> wrote:



>In fact I reported this issue to fedora release team and have no answer
>there, so looking help from ncurses, all other open source packages
>used are compiled well, only ncurses has the problem. Attached the
>generated lib_gen.c
>

>As I checked, the error seems to be because automatically generated
>lib_gen.c has some syntax error like:
>NCURSES_EXPORT(int) (attroff) (int z)
>{
>        T((T_CALLED("attroff(%s)"), _traceattr2(0,(chtype)z)));
>returnCode(wattr_off(stdscr, (attr_t)(z),
># 39 "_19107.c" 3 4
> ((void *)0)
># 39 "_19107.c"
>));
>}
>
>
>But in an old fedora version compiling, the line "# 39 "_19107.c""
>doesn't exist. This file is generated by a shell in ncurses, named
>MKlib_gen.sh
>
>
>Please kindly help to check this issue as it breaks my daily coding
Hi Thomas, et al.  This looks like the porting problem
described here: https://gcc.gnu.org/gcc-5/porting_to.html

They say it is solved by adding the "-P" CFLAG to scripts that
automatically generate code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]