[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: (no subject)
- From: Brett Nash <nash nash nu>
- To: Georgi Hristov <georgi eontechnologies bg>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: (no subject)
- Date: Tue, 2 Dec 2003 10:07:55 +1100
Firstly this is a C problem, nothing to do with Gtk.
However I'm betting that code snippet is not representative of what is
going on. Is create_LearnDialog in the same file as the place you are
calling it? If not you need to include the appropriate header file.
Otherwise if create_LearnDialog is in the same file, it is probably
after the call to it, in which case you need to put in a prototype for
the function - something you should be doing anyway.
Regards,
nash
* Georgi Hristov <georgi@eontechnologies.bg> wrote:
> Hi,
> the following function snippet
>
> ------
> GtkWidget* create_LearnDialog (void)
> {
> ...
> }
>
> GtkWidget* LearnForm;
>
> LearnForm = create_LearnDialog();
> ----
> generates this warning:
> >
> > warning: assignment makes pointer from integer without a cast
> >
>
> please, give me some idea about what is wrong here.
>
> regards,
> joro
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
--
Brett Nash <nash@nash.nu>
Sometimes it's better to light a flamethrower than curse the darkness.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]