7.4.1207 fails to build

171 views
Skip to first unread message

Elimar Riesebieter

unread,
Jan 30, 2016, 11:06:58 AM1/30/16
to vim-dev
Huge build on linux:

on.c:52:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
^
version.c:52:56: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
^
Elimar
--
The path to source is always uphill!
-unknown-

Elimar Riesebieter

unread,
Jan 30, 2016, 11:29:53 AM1/30/16
to vim-dev
* Elimar Riesebieter <ries...@lxtec.de> [2016-01-30 17:06 +0100]:

> Huge build on linux:
>
> on.c:52:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
> char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> ^
> version.c:52:56: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
> char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";

The real fault is:
igui_athena.c:92:28: error: unknown type name 'call_data'
XtPointer client_data, call_data)
^
gui_athena.c:127:28: error: unknown type name 'call_data'
XtPointer client_data, call_data)
^
gui_athena.c:72:13: warning: 'gui_athena_scroll_cb_jump' used but never defined
static void gui_athena_scroll_cb_jump(Widget, XtPointer, XtPointer);
^
gui_athena.c:73:13: warning: 'gui_athena_scroll_cb_scroll' used but never defined
static void gui_athena_scroll_cb_scroll(Widget, XtPointer, XtPointer);
^

Elimar

--
Alles was viel bedacht wird ist bedenklich!;-)
Friedrich Nietzsche

Bram Moolenaar

unread,
Jan 30, 2016, 11:32:18 AM1/30/16
to Elimar Riesebieter, vim-dev

Elimar Riesebieter wrote:

> Huge build on linux:
>
> on.c:52:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
> char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> ^
> version.c:52:56: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
> char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> ^

So, where does this -Wdate-time come from? Don't use it when building
verion.c.

--
From "know your smileys":
:-) Funny
|-) Funny Oriental
(-: Funny Australian

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Elimar Riesebieter

unread,
Jan 30, 2016, 11:47:40 AM1/30/16
to vim-dev
* Bram Moolenaar <Br...@moolenaar.net> [2016-01-30 17:32 +0100]:

>
> Elimar Riesebieter wrote:
>
> > Huge build on linux:
> >
> > on.c:52:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
> > char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> > ^
> > version.c:52:56: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
> > char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> > ^
>
> So, where does this -Wdate-time come from? Don't use it when building
> verion.c.

Thats a Debian specific build environment and doesn't cause the build failure.

The real fault is:
igui_athena.c:92:28: error: unknown type name 'call_data'
XtPointer client_data, call_data)
^
gui_athena.c:127:28: error: unknown type name 'call_data'
XtPointer client_data, call_data)
^
gui_athena.c:72:13: warning: 'gui_athena_scroll_cb_jump' used but never defined
static void gui_athena_scroll_cb_jump(Widget, XtPointer, XtPointer);
^
gui_athena.c:73:13: warning: 'gui_athena_scroll_cb_scroll' used but never defined
static void gui_athena_scroll_cb_scroll(Widget, XtPointer, XtPointer);

Elimar
--
>what IMHO then?
IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
--posting from alex in debian-user--

Bram Moolenaar

unread,
Jan 30, 2016, 12:11:52 PM1/30/16
to Elimar Riesebieter, vim-dev

Elimar Riesebieter wrote:

> > Huge build on linux:
> >
> > on.c:52:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
> > char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> > ^
> > version.c:52:56: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
> > char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
>
> The real fault is:
> igui_athena.c:92:28: error: unknown type name 'call_data'
> XtPointer client_data, call_data)
> ^
> gui_athena.c:127:28: error: unknown type name 'call_data'
> XtPointer client_data, call_data)
> ^
> gui_athena.c:72:13: warning: 'gui_athena_scroll_cb_jump' used but never defined
> static void gui_athena_scroll_cb_jump(Widget, XtPointer, XtPointer);
> ^
> gui_athena.c:73:13: warning: 'gui_athena_scroll_cb_scroll' used but never defined
> static void gui_athena_scroll_cb_scroll(Widget, XtPointer, XtPointer);

Ah, that's the refactoring script not handling this correctly.
Same problem in a few other files.

--
From "know your smileys":
:-H Is missing teeth

Elimar Riesebieter

unread,
Jan 30, 2016, 1:04:15 PM1/30/16
to vim-dev
* Bram Moolenaar <Br...@moolenaar.net> [2016-01-30 18:11 +0100]:

>
> Elimar Riesebieter wrote:
>
> > > Huge build on linux:
> > >
> > > on.c:52:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
> > > char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> > > ^
> > > version.c:52:56: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
> > > char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
> >
> > The real fault is:
> > igui_athena.c:92:28: error: unknown type name 'call_data'
> > XtPointer client_data, call_data)
> > ^
> > gui_athena.c:127:28: error: unknown type name 'call_data'
> > XtPointer client_data, call_data)
> > ^
> > gui_athena.c:72:13: warning: 'gui_athena_scroll_cb_jump' used but never defined
> > static void gui_athena_scroll_cb_jump(Widget, XtPointer, XtPointer);
> > ^
> > gui_athena.c:73:13: warning: 'gui_athena_scroll_cb_scroll' used but never defined
> > static void gui_athena_scroll_cb_scroll(Widget, XtPointer, XtPointer);
>
> Ah, that's the refactoring script not handling this correctly.
> Same problem in a few other files.

vim-7.4.1209 builds fine ;)

Elimar
--
Experience is something you don't get until
just after you need it!
Reply all
Reply to author
Forward
0 new messages