Quoth Moh B:
> You declared a void myprocess1(void); member function <== WITH void
> parameter list BUT in the myLabel::myLabel() constructor you called the
> myprocess1() WITHOUT any parameter list: This may cause problems to the
> compiler:
>       protected:
>       Gtk::Label m_label;
>       string labeltext;
>       string newtext;
>       void myprocess1(); <== see here
> caution required.

C++ defines () and (void) to be equivalent.  That's only a problem in C code
(which defines these as distinct).

You should usually try to be consistent with using one or the other, though.


_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to