Re: compile problem

Dave Seidel wrote:
> I'm getting this in the gda-mysql-server directory (using gcc 2.95.1):
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.       -I
> include            -D_UNIX_       -I/usr/include                  -I/usr/inc
> lude -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/inc
> lude -I/usr/X11R6/include  -I/usr/lib/glib/include -I/usr/X11R6/include  -g
> -O2 -Wall  -c gda-mysql-recset.c
> gda-mysql-recset.c: In function `gda_mysql_recset_describe':
> gda-mysql-recset.c:68: invalid lvalue in unary `&'
> make: *** [gda-mysql-recset.o] Error 1

I simply removed the offending '&' and happily compiled.

"I invented the term Object-Oriented, and
I can tell you I did not have C++ in mind."
- Alan Kay

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