ANSI C++ problemy
Wojciech "Sas" Cieciwa
cieciwa w alpha.zarz.agh.edu.pl
Pią, 31 Gru 1999, 10:51:50 CET
Czy moze mnie ktos oswiecic dlaczego tak sie dziej ?????
Czego mi brakuje??
[..]
Making all in src
make[1]: Entering directory `/users/cieciwa/rpm/BUILD/gtkfig-0.7.0/src'
Making all in pixmaps
make[2]: Entering directory `/users/cieciwa/rpm/BUILD/gtkfig-0.7.0/src/pixmaps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/users/cieciwa/rpm/BUILD/gtkfig-0.7.0/src/pixmaps'
make[2]: Entering directory `/users/cieciwa/rpm/BUILD/gtkfig-0.7.0/src'
c++ -DPACKAGE=\"gtkfig\" -DVERSION=\"0.7.0\" -DSTDC_HEADERS=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/lib/glib/include -c arrowproperties.cc
In file included from line.h:10,
from arrowproperties.h:7,
from arrowproperties.cc:8:
lineproperties.h:26: ANSI C++ forbids initialization of member `NUM_STYLES'
lineproperties.h:26: making `NUM_STYLES' static
In file included from arrowproperties.h:7,
from arrowproperties.cc:8:
line.h:27: ANSI C++ forbids initialization of member `MAXNUMHANDLES'
line.h:27: making `MAXNUMHANDLES' static
arrowproperties.cc: In function `void on_TB_draw(GtkWidget *, GdkRectangle *, void *)':
arrowproperties.cc:48: conversion from `void *' to `enum TArrowStyle'
arrowproperties.cc: In function `gboolean on_TB_expose_event(GtkWidget *, GdkEventExpose *, void *)':
arrowproperties.cc:59: conversion from `void *' to `enum TArrowStyle'
make[2]: *** [arrowproperties.o] Error 1
make[2]: Leaving directory `/users/cieciwa/rpm/BUILD/gtkfig-0.7.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/users/cieciwa/rpm/BUILD/gtkfig-0.7.0/src'
make: *** [all-recursive] Error 1
Pozdrawiam.
Sas.
--
{ Wojciech 'Sas' Cieciwa } { Member of PLD Team }
{ e-mail: cieciwa w alpha.zarz.agh.edu.pl, http://www2.zarz.agh.edu.pl/~cieciwa }
{ Certificated Linux administrator, http://www.tekmetrics.com ID=157794 }
Więcej informacji o liście dyskusyjnej pld-devel-pl