wxGTK: msgdlg compilation

View: New views
4 Messages — Rating Filter:   Alert me  

wxGTK: msgdlg compilation

by Robert Roebling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

../src/gtk/msgdlg.cpp: In constructor
‘wxMessageDialog::wxMessageDialog(wxWindow*, const wxString&, const
wxString&, long int, const wxPoint&)’:
../src/gtk/msgdlg.cpp:42: error: class ‘wxMessageDialog’ does not have
any field named ‘wxMessageDialogWithCustomLabels’
../src/gtk/msgdlg.cpp: At global scope:
../src/gtk/msgdlg.cpp:49: error: no ‘wxString
wxMessageDialog::GetDefaultYesLabel() const’ member function declared in
class ‘wxMessageDialog’
../src/gtk/msgdlg.cpp:54: error: no ‘wxString
wxMessageDialog::GetDefaultNoLabel() const’ member function declared in
class ‘wxMessageDialog’
../src/gtk/msgdlg.cpp:59: error: no ‘wxString
wxMessageDialog::GetDefaultOKLabel() const’ member function declared in
class ‘wxMessageDialog’
../src/gtk/msgdlg.cpp:64: error: no ‘wxString
wxMessageDialog::GetDefaultCancelLabel() const’ member function declared
in class ‘wxMessageDialog’
../src/gtk/msgdlg.cpp:69: error: expected ‘,’ or ‘...’ before ‘&’ token
../src/gtk/msgdlg.cpp:69: error: ISO C++ forbids declaration of
‘ButtonLabel’ with no type
../src/gtk/msgdlg.cpp:69: error: no ‘void
wxMessageDialog::DoSetCustomLabel(wxString&, int)’ member function
declared in class ‘wxMessageDialog’
../src/gtk/msgdlg.cpp: In member function ‘void
wxMessageDialog::DoSetCustomLabel(wxString&, int)’:
../src/gtk/msgdlg.cpp:71: error: ‘label’ was not declared in this scope
../src/gtk/msgdlg.cpp:74: error: ‘wxMessageDialogWithCustomLabels’ has
not been declared
../src/gtk/msgdlg.cpp:79: error: ‘wxGetStockGtkID’ was not declared in
this scope
../src/gtk/msgdlg.cpp: At global scope:
../src/gtk/msgdlg.cpp:69: warning: unused parameter ‘ButtonLabel’
../src/gtk/msgdlg.cpp: In member function ‘void
wxMessageDialog::GTKCreateMsgDialog()’:
../src/gtk/msgdlg.cpp:115: error: ‘HasCustomLabels’ was not declared in
this scope
../src/gtk/msgdlg.cpp:199: error: ‘GetNoLabel’ was not declared in this
scope
../src/gtk/msgdlg.cpp:200: error: ‘GetYesLabel’ was not declared in this
scope
../src/gtk/msgdlg.cpp:204: error: ‘GetCancelLabel’ was not declared in
this scope
../src/gtk/msgdlg.cpp:216: error: ‘GetOKLabel’ was not declared in this
scope
../src/gtk/msgdlg.cpp:218: error: ‘GetCancelLabel’ was not declared in
this scope


_______________________________________________
wx-dev mailing list
wx-dev@...
http://lists.wxwidgets.org/mailman/listinfo/wx-dev

Re: wxGTK: msgdlg compilation

by Vadim Zeitlin-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 06 Sep 2008 15:03:08 +0200 Robert Roebling wrote:

RR> ../src/gtk/msgdlg.cpp: In constructor
RR> ‘wxMessageDialog::wxMessageDialog(wxWindow*, const wxString&, const
RR> wxString&, long int, const wxPoint&)’:
RR> ../src/gtk/msgdlg.cpp:42: error: class ‘wxMessageDialog’ does not have
RR> any field named ‘wxMessageDialogWithCustomLabels’

 Are you sure to have the latest svn sources for everything? It definitely
does derive from wxMessageDialogWithCustomLabels and buildbot seems to be
happy (albeit there are some failing tests and they don't run to the end as
I've just noticed... no idea what to do about it though).

 Regards,
VZ


_______________________________________________
wx-dev mailing list
wx-dev@...
http://lists.wxwidgets.org/mailman/listinfo/wx-dev

attachment0 (202 bytes) Download Attachment

Re: wxGTK: msgdlg compilation

by Tobias Hammer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

i get compilation errors in the same file with newest svn trunk. Maybe
it is related:

/opt/wxSVN/bk-deps g++ -c -o corelib_msgdlg.o -I.pch/wxprec_corelib
-D__WXGTK__     -DWXBUILDING -I/opt/wxSVN/src/tiff/libtiff
-I./src/tiff/libtiff -I./src/jpeg   -I./src/regex  -DwxUSE_BASE=0 -Wall
-Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES
-I/opt/wxSVN/lib/wx/include/gtk2-unicode-release-static-2.9 -I./include
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1
-DWX_PRECOMP -pthread -O2 -fno-strict-aliasing
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/lib/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1  ./src/gtk/msgdlg.cpp

./src/gtk/msgdlg.cpp: In member function ‘void
wxMessageDialog::GTKCreateMsgDialog()’:
./src/gtk/msgdlg.cpp:199: error: cannot convert ‘wxString’ to ‘const
gchar*’ for argument ‘2’ to ‘GtkWidget*
gtk_dialog_add_button(GtkDialog*, const gchar*, gint)’
./src/gtk/msgdlg.cpp:200: error: cannot convert ‘wxString’ to ‘const
gchar*’ for argument ‘2’ to ‘GtkWidget*
gtk_dialog_add_button(GtkDialog*, const gchar*, gint)’
./src/gtk/msgdlg.cpp:205: error: cannot convert ‘wxString’ to ‘const
gchar*’ for argument ‘2’ to ‘GtkWidget*
gtk_dialog_add_button(GtkDialog*, const gchar*, gint)’
./src/gtk/msgdlg.cpp:216: error: cannot convert ‘wxString’ to ‘const
gchar*’ for argument ‘2’ to ‘GtkWidget*
gtk_dialog_add_button(GtkDialog*, const gchar*, gint)’
./src/gtk/msgdlg.cpp:218: error: cannot convert ‘wxString’ to ‘const
gchar*’ for argument ‘2’ to ‘GtkWidget*
gtk_dialog_add_button(GtkDialog*, const gchar*, gint)’
make: *** [corelib_msgdlg.o] Error 1


The used configuration:

./configure --disable-shared --enable-stl --enable-sockets
--disable-compat26  --enable-aui --enable-threads --enable-cmdline
--enable-mimetype --with-regex --enable-gui  --enable-config
--enable-ipc --enable-exceptions --enable-mimetype --enable-timer
--enable-threads --with-libpng --with-libjpeg --with-libtiff
--with-libxpm --with-regex --with-zlib --enable-richtext
--enable-odcombobox --enable-html

Regards
Tobias Hammer
_______________________________________________
wx-dev mailing list
wx-dev@...
http://lists.wxwidgets.org/mailman/listinfo/wx-dev

Re[2]: wxGTK: msgdlg compilation

by Vadim Zeitlin-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 06 Sep 2008 16:25:12 +0200 Tobias Hammer <mailinglist@...> wrote:

TH> i get compilation errors in the same file with newest svn trunk. Maybe
TH> it is related:

 No, it isn't, but thanks for reporting it, it's a real problem in STL
build (we really should set up an STL buildbot configuration...), sorry
about it. Fixed now in r55496.

 Thanks,
VZ


_______________________________________________
wx-dev mailing list
wx-dev@...
http://lists.wxwidgets.org/mailman/listinfo/wx-dev

attachment0 (202 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price!