Re: [Planner Dev] Compilation of database access with gcc 4



Jon Wilkins skrev:
Hi,

I've recently moved from Fedora to Ubuntu Breezy and now I'm having
problems building from CVS and enabling the database option.

Specifically "/usr/include/libgda-1.2/libgda/gda-value.h:183: warning:
type qualifiers ignored on function return type" .

It appears that this is a combination of GCC 4 and libgda-1.2.1.

My next step is to try building with gcc 3.3 instead or against newer
versions of libgda, but I'd rather find a better solution....

Has anyone else seen this?  What did you do to get around it?

It's just a compile warning introduced by gcc 4. When building from CVS, planner defaults to treating warnings as errors. If you pass --with-compile-warnings=yes to autogen.sh, it should build.

Regards,
Richard

--
Imendio AB, http://www.imendio.com/



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