pkgsrc-Users archive

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

Re: time/ical build failure - also x11/xfreecell



The x11/xfreecell build also gets lots of the "narrowing" errors...

g++ -c -Wall -DSHAPE -DBOGUSRANDOM -I/usr/X11R7/include gnmanager.cpp
In file included from util.cpp:8:0:
face.bm:62:74: error: narrowing conversion of '176' from 'int' to 'char' inside{ } [-Wnarrowing]
    0xc0, 0x41, 0x10, 0x04, 0xc7, 0x01, 0x60, 0x41, 0x10, 0x04, 0x0d, 0x00};
                                                                          ^
face.bm:62:74: error: narrowing conversion of '130' from 'int' to 'char' inside{ } [-Wnarrowing]
face.bm:62:74: error: narrowing conversion of '128' from 'int' to 'char' inside{ } [-Wnarrowing]
face.bm:62:74: error: narrowing conversion of '227' from 'int' to 'char' inside{ } [-Wnarrowing]
...

On Thu, 15 Feb 2018, Paul Goyette wrote:

At least at first glance, this one does not appear to be related to openssl!

...
ical.C: In function 'void trigger(Tcl_Interp*, const char*, const char*)':
ical.C:144:59: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
        fprintf(stderr, "ical: trigger error: %s\n", tcl->result);
                                                          ^~~~~~
In file included from ical.h:5:0,
                from ical.C:6:
/tmp/pkgs/time/ical/work.x86_64/.buildlink/include/tcl.h:170:71: note: declaredhere
# define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__ (msg)))
                                                                      ^
/tmp/pkgs/time/ical/work.x86_64/.buildlink/include/tcl.h:503:18: note: in expansion of macro 'TCL_DEPRECATED_API' char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
                 ^~~~~~~~~~~~~~~~~~
ical.C:144:59: warning: 'Tcl_Interp::result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
        fprintf(stderr, "ical: trigger error: %s\n", tcl->result);
                                                          ^~~~~~
In file included from ical.h:5:0,
                from ical.C:6:
/tmp/pkgs/time/ical/work.x86_64/.buildlink/include/tcl.h:170:71: note: declaredhere
# define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__ (msg)))
                                                                      ^
/tmp/pkgs/time/ical/work.x86_64/.buildlink/include/tcl.h:503:18: note: in expansion of macro 'TCL_DEPRECATED_API'

...

In file included from main.C:27:0:
bitmaps/left.xbm:7:50: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
   0x20, 0x01, 0x40, 0x01, 0x80, 0x01, 0x00, 0x00};
                                                 ^
bitmaps/left.xbm:7:50: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
In file included from main.C:28:0:
bitmaps/right.xbm:7:50: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
   0x80, 0x04, 0x80, 0x02, 0x80, 0x01, 0x00, 0x00};
                                                 ^
bitmaps/right.xbm:7:50: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing] bitmaps/right.xbm:7:50: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]

<lots more of these!>


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index