Re: [gtk-list] Re: Gtk-- ItemFactory linking problems



Guillaume Laurent wrote:
> 
> Kevin Handy <kth@srv.net> writes:
> 
> > With the following code snippet, it compiles but fill not link.
> 
> Very FAQ : you're compiling Gtk-- with (resp. without) the -pedantic
> flag, and your code without (resp. with) it.
> 
> Either compile both with this flag, our both without. Don't mix.

Many thanks. It now compiles.

FWIW: I just did a './confiure; make; make install' for the GTK stuff,
and never noticed that it added that flag to the compiles. Adding it
to mine made everything happy.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]