[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uimenu implementation, 2nd version [build failure on MacOS X]
From: |
Ben Abbott |
Subject: |
Re: uimenu implementation, 2nd version [build failure on MacOS X] |
Date: |
Tue, 26 Oct 2010 11:15:19 +0800 |
On Oct 26, 2010, at 1:03 AM, Kai Habel wrote:
> Ok, I have pushed an updated Changeset, with the uimenu implementation for
> the fltk backend.
>
> Kai
With this change, my buiid is failing
libtool: compile: g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I/sw/lib/flex/include
-I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include
-I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I.
-I. -I/sw/include -arch i386 -D_THREAD_SAFE -D_REENTRANT -I/sw/lib/flex/include
-I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include
-I/sw/include -m32 -O1 -g -D_THREAD_SAFE -DHAVE_CONFIG_H -mieee-fp
-I/sw/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -Wall -W
-Wshadow -Wold-style-cast -Wformat -I/sw/include -m32 -O1 -g -D_THREAD_SAFE
-D_THREAD_SAFE -pthread -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -MT
DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo -MD -MP -MF
DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.Tpo -c
DLD-FUNCTIONS/fltk_backend.cc -fno-common -DPIC -o
DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.o
In file included from /sw/include/FL/Fl.H:31,
from DLD-FUNCTIONS/fltk_backend.cc:43:
/sw/include/FL/Enumerations.H: In function 'Fl_Boxtype fl_box(Fl_Boxtype)':
/sw/include/FL/Enumerations.H:233: warning: use of old-style cast
/sw/include/FL/Enumerations.H: In function 'Fl_Boxtype fl_down(Fl_Boxtype)':
/sw/include/FL/Enumerations.H:236: warning: use of old-style cast
/sw/include/FL/Enumerations.H: In function 'Fl_Boxtype fl_frame(Fl_Boxtype)':
/sw/include/FL/Enumerations.H:239: warning: use of old-style cast
/sw/include/FL/Enumerations.H: In function 'Fl_Color fl_rgb_color(uchar, uchar,
uchar)':
/sw/include/FL/Enumerations.H:369: warning: use of old-style cast
/sw/include/FL/Enumerations.H: In function 'Fl_Color fl_rgb_color(uchar)':
/sw/include/FL/Enumerations.H:373: warning: use of old-style cast
/sw/include/FL/Enumerations.H: In function 'Fl_Color fl_gray_ramp(int)':
/sw/include/FL/Enumerations.H:375: warning: use of old-style cast
/sw/include/FL/Enumerations.H:375: warning: use of old-style cast
/sw/include/FL/Enumerations.H: In function 'Fl_Color fl_color_cube(int, int,
int)':
/sw/include/FL/Enumerations.H:377: warning: use of old-style cast
/sw/include/FL/Enumerations.H:377: warning: use of old-style cast
In file included from /sw/include/FL/Fl_Box.H:32,
from DLD-FUNCTIONS/fltk_backend.cc:44:
/sw/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::x(int)':
/sw/include/FL/Fl_Widget.H:82: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::y(int)':
/sw/include/FL/Fl_Widget.H:83: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::w(int)':
/sw/include/FL/Fl_Widget.H:84: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::h(int)':
/sw/include/FL/Fl_Widget.H:85: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Align Fl_Widget::align()
const':
/sw/include/FL/Fl_Widget.H:122: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Boxtype Fl_Widget::box()
const':
/sw/include/FL/Fl_Widget.H:124: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Color Fl_Widget::color()
const':
/sw/include/FL/Fl_Widget.H:126: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Color
Fl_Widget::selection_color() const':
/sw/include/FL/Fl_Widget.H:128: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Labeltype
Fl_Widget::labeltype() const':
/sw/include/FL/Fl_Widget.H:135: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Color
Fl_Widget::labelcolor() const':
/sw/include/FL/Fl_Widget.H:137: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Font Fl_Widget::labelfont()
const':
/sw/include/FL/Fl_Widget.H:139: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::callback(void
(*)(Fl_Widget*))':
/sw/include/FL/Fl_Widget.H:154: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::callback(void
(*)(Fl_Widget*, long int), long int)':
/sw/include/FL/Fl_Widget.H:155: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H:155: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'long int Fl_Widget::argument()
const':
/sw/include/FL/Fl_Widget.H:158: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::argument(long
int)':
/sw/include/FL/Fl_Widget.H:159: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_When Fl_Widget::when()
const':
/sw/include/FL/Fl_Widget.H:160: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'void
Fl_Widget::do_callback(Fl_Widget*, long int)':
/sw/include/FL/Fl_Widget.H:189: warning: use of old-style cast
/sw/include/FL/Fl_Widget.H: In member function 'Fl_Color Fl_Widget::color2()
const':
/sw/include/FL/Fl_Widget.H:208: warning: use of old-style cast
In file included from DLD-FUNCTIONS/fltk_backend.cc:45:
/sw/include/FL/Fl_Button.H: In member function 'Fl_Boxtype
Fl_Button::down_box() const':
/sw/include/FL/Fl_Button.H:65: warning: use of old-style cast
In file included from /sw/include/FL/Fl_Menu_Item.H:32,
from /sw/include/FL/Fl_Menu_.H:34,
from /sw/include/FL/Fl_Choice.H:31,
from DLD-FUNCTIONS/fltk_backend.cc:46:
/sw/include/FL/Fl_Image.H: In constructor 'Fl_RGB_Image::Fl_RGB_Image(const
uchar*, int, int, int, int)':
/sw/include/FL/Fl_Image.H:95: warning: use of old-style cast
In file included from /sw/include/FL/Fl_Menu_.H:34,
from /sw/include/FL/Fl_Choice.H:31,
from DLD-FUNCTIONS/fltk_backend.cc:46:
/sw/include/FL/Fl_Menu_Item.H: In member function 'Fl_Menu_Item*
Fl_Menu_Item::next(int)':
/sw/include/FL/Fl_Menu_Item.H:68: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H:68: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'Fl_Labeltype
Fl_Menu_Item::labeltype() const':
/sw/include/FL/Fl_Menu_Item.H:76: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'Fl_Color
Fl_Menu_Item::labelcolor() const':
/sw/include/FL/Fl_Menu_Item.H:78: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'Fl_Font
Fl_Menu_Item::labelfont() const':
/sw/include/FL/Fl_Menu_Item.H:80: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'void
Fl_Menu_Item::callback(void (*)(Fl_Widget*))':
/sw/include/FL/Fl_Menu_Item.H:87: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'void
Fl_Menu_Item::callback(void (*)(Fl_Widget*, long int), long int)':
/sw/include/FL/Fl_Menu_Item.H:88: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H:88: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'long int
Fl_Menu_Item::argument() const':
/sw/include/FL/Fl_Menu_Item.H:91: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'void
Fl_Menu_Item::argument(long int)':
/sw/include/FL/Fl_Menu_Item.H:92: warning: use of old-style cast
/sw/include/FL/Fl_Menu_Item.H: In member function 'void
Fl_Menu_Item::do_callback(Fl_Widget*, long int) const':
/sw/include/FL/Fl_Menu_Item.H:135: warning: use of old-style cast
In file included from /sw/include/FL/Fl_Choice.H:31,
from DLD-FUNCTIONS/fltk_backend.cc:46:
/sw/include/FL/Fl_Menu_.H: In member function 'int Fl_Menu_::value() const':
/sw/include/FL/Fl_Menu_.H:77: warning: use of old-style cast
/sw/include/FL/Fl_Menu_.H: In member function 'Fl_Font Fl_Menu_::textfont()
const':
/sw/include/FL/Fl_Menu_.H:83: warning: use of old-style cast
/sw/include/FL/Fl_Menu_.H: In member function 'Fl_Color Fl_Menu_::textcolor()
const':
/sw/include/FL/Fl_Menu_.H:87: warning: use of old-style cast
/sw/include/FL/Fl_Menu_.H: In member function 'Fl_Boxtype Fl_Menu_::down_box()
const':
/sw/include/FL/Fl_Menu_.H:90: warning: use of old-style cast
In file included from /sw/include/FL/Fl_Gl_Window.H:30,
from DLD-FUNCTIONS/fltk_backend.cc:47:
/sw/include/FL/Fl_Window.H: In member function 'void Fl_Window::size_range(int,
int, int, int, int, int, int)':
/sw/include/FL/Fl_Window.H:97: warning: use of old-style cast
/sw/include/FL/Fl_Window.H:97: warning: use of old-style cast
/sw/include/FL/Fl_Window.H:97: warning: use of old-style cast
/sw/include/FL/Fl_Window.H:97: warning: use of old-style cast
/sw/include/FL/Fl_Window.H:97: warning: use of old-style cast
/sw/include/FL/Fl_Window.H:97: warning: use of old-style cast
/sw/include/FL/Fl_Window.H:97: warning: use of old-style cast
In file included from DLD-FUNCTIONS/fltk_backend.cc:47:
/sw/include/FL/Fl_Gl_Window.H: In member function 'Fl_Mode Fl_Gl_Window::mode()
const':
/sw/include/FL/Fl_Gl_Window.H:74: warning: use of old-style cast
In file included from /sw/include/FL/Fl_Input.H:31,
from /sw/include/FL/Fl_Output.H:31,
from DLD-FUNCTIONS/fltk_backend.cc:50:
/sw/include/FL/Fl_Input_.H: In member function 'Fl_Font Fl_Input_::textfont()
const':
/sw/include/FL/Fl_Input_.H:122: warning: use of old-style cast
/sw/include/FL/Fl_Input_.H: In member function 'Fl_Color Fl_Input_::textcolor()
const':
/sw/include/FL/Fl_Input_.H:126: warning: use of old-style cast
/sw/include/FL/Fl_Input_.H: In member function 'Fl_Color
Fl_Input_::cursor_color() const':
/sw/include/FL/Fl_Input_.H:128: warning: use of old-style cast
/sw/include/FL/Fl_Input_.H: In member function 'void
Fl_Input_::input_type(int)':
/sw/include/FL/Fl_Input_.H:132: warning: use of old-style cast
/sw/include/FL/Fl_Input_.H: In member function 'void Fl_Input_::readonly(int)':
/sw/include/FL/Fl_Input_.H:134: warning: use of old-style cast
/sw/include/FL/Fl_Browser_.H:138: warning: use of old-style cast
In file included from /sw/include/FL/Fl_File_Browser.H:36,
from /sw/include/Fl/Fl_File_Chooser.H:43,
from DLD-FUNCTIONS/fltk_backend.cc:51:
/sw/include/FL/Fl_File_Icon.H: In member function 'short int*
Fl_File_Icon::add_color(Fl_Color)':
/sw/include/FL/Fl_File_Icon.H:87: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H:87: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H:87: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H: In member function 'short int*
Fl_File_Icon::add_vertex(int, int)':
/sw/include/FL/Fl_File_Icon.H:89: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H:89: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H:89: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H: In member function 'short int*
Fl_File_Icon::add_vertex(float, float)':
/sw/include/FL/Fl_File_Icon.H:91: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H:91: warning: use of old-style cast
/sw/include/FL/Fl_File_Icon.H:92: warning: use of old-style cast
In file included from /sw/include/FL/Fl_File_Browser.H:37,
from /sw/include/Fl/Fl_File_Chooser.H:43,
from DLD-FUNCTIONS/fltk_backend.cc:51:
/sw/include/FL/filename.H: At global scope:
/sw/include/FL/filename.H:120: warning: use of old-style cast
In file included from /sw/include/Fl/Fl_File_Chooser.H:43,
from DLD-FUNCTIONS/fltk_backend.cc:51:
/sw/include/FL/Fl_File_Browser.H: In member function 'void
Fl_File_Browser::textsize(uchar)':
/sw/include/FL/Fl_File_Browser.H:71: warning: use of old-style cast
In file included from /sw/include/Fl/Fl_File_Chooser.H:46,
from DLD-FUNCTIONS/fltk_backend.cc:51:
/sw/include/FL/Fl_File_Input.H: In member function 'Fl_Boxtype
Fl_File_Input::down_box() const':
/sw/include/FL/Fl_File_Input.H:54: warning: use of old-style cast
In file included from /sw/include/Fl/Fl_File_Chooser.H:48,
from DLD-FUNCTIONS/fltk_backend.cc:51:
/sw/include/FL/fl_ask.H: In function 'void fl_message_font(unsigned char,
unsigned char)':
/sw/include/FL/fl_ask.H:68: warning: use of old-style cast
In file included from DLD-FUNCTIONS/fltk_backend.cc:54:
/sw/include/FL/fl_draw.H: In function 'void fl_color(int)':
/sw/include/FL/fl_draw.H:41: warning: use of old-style cast
In file included from DLD-FUNCTIONS/fltk_backend.cc:55:
/sw/include/FL/gl.h: In function 'void gl_color(int)':
/sw/include/FL/gl.h:60: warning: use of old-style cast
DLD-FUNCTIONS/fltk_backend.cc: In member function 'Matrix
fltk_uimenu::find_uimenu_children(T&) const':
DLD-FUNCTIONS/fltk_backend.cc:339: error: request for member 'get_position' in
'dynamic_cast<uimenu::properties&>(kidgo.graphics_object::get_properties())',
which is of non-class type 'uimenu::properties&'
DLD-FUNCTIONS/fltk_backend.cc:341: error: request for member 'get_fltk_label'
in
'dynamic_cast<uimenu::properties&>(kidgo.graphics_object::get_properties())',
which is of non-class type 'uimenu::properties&'
DLD-FUNCTIONS/fltk_backend.cc: In member function 'Matrix
fltk_uimenu::find_uimenu_children(T&) const [with T = uimenu::properties]':
DLD-FUNCTIONS/fltk_backend.cc:360: instantiated from here
DLD-FUNCTIONS/fltk_backend.cc:340: warning: unused variable 'lbl'
DLD-FUNCTIONS/fltk_backend.cc: In member function 'Matrix
fltk_uimenu::find_uimenu_children(T&) const [with T = figure::properties]':
DLD-FUNCTIONS/fltk_backend.cc:554: instantiated from here
DLD-FUNCTIONS/fltk_backend.cc:340: warning: unused variable 'lbl'
make[3]: *** [DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo]
Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
Ben
- uimenu implementation, 2nd version, Kai Habel, 2010/10/21
- Re: uimenu implementation, 2nd version, Kai Habel, 2010/10/21
- uimenu implementation, 2nd version, John W. Eaton, 2010/10/21
- Re: uimenu implementation, 2nd version [build failure on MacOS X],
Ben Abbott <=
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Ben Abbott, 2010/10/26
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Kai Habel, 2010/10/26
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Ben Abbott, 2010/10/26
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Kai Habel, 2010/10/26
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Ben Abbott, 2010/10/26
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Ben Abbott, 2010/10/28
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Kai Habel, 2010/10/31
- Re: uimenu implementation, 2nd version [build failure on MacOS X], Ben Abbott, 2010/10/31
Re: uimenu implementation, 2nd version [octave_execution_exception], Ben Abbott, 2010/10/26