1 |
Antonio ÐÉÛÅÔ: |
2 |
> C Ippon ÏÎ ÄÒÕÖÉÔ - ÜÔÏ ÔÏÞÎÏ. îÏ ÜÔÏ ÎÁ ÓÏ×ÅÓÔÉ Ippon. |
3 |
ÕÖÅ nut ÎÁÓÔÒÏÉÌ, ÔÏÌØËÏ ÍÏÎÉÔÏÒ gknut ÓÏÂÉÒÁÔØÓÑ ÎÅ ÈÏÞÅÔ. |
4 |
Makefile ÎÁ ÐÒÅÄÍÅÔ gtk-2.0 ÐÏÐÒÁ×ÉÌ, Á ÏÎ ×Ó£ ÒÁ×ÎÏ ÎÅ ÈÏÞÅÔ. |
5 |
-----------------------//---------------------------- |
6 |
gcc -O2 -Wall -fPIC -ffast-math -march=athlon-xp -D`uname | tr '[:lower:]' '[:upper:]'` -DGKRELLM2 |
7 |
-fPIC |
8 |
-Wall `pkg-config gtk+-2.0 --cflags` `pkg-config glib-2.0 --cflags` -c -o gknut.o gknut.c |
9 |
In file included from gknut.c:55: |
10 |
gknut.h:90: error: parse error before "Chart" |
11 |
gknut.h:90: warning: no semicolon at end of struct or union |
12 |
gknut.h:91: warning: type defaults to `int' in declaration of `data' |
13 |
gknut.h:91: warning: data definition has no type or storage class |
14 |
gknut.h:92: error: parse error before '*' token |
15 |
gknut.h:92: warning: type defaults to `int' in declaration of `config' |
16 |
gknut.h:92: warning: data definition has no type or storage class |
17 |
........................................ |
18 |
-----------------------//---------------------------- |
19 |
É Ô.Ä. × ÔÏÍ ÖÅ ÄÕÈÅ. |
20 |
-----------------------/gknut.h/---------------------------- |
21 |
.............................. |
22 |
typedef struct |
23 |
{ |
24 |
GtkWidget *vbox; /*!< Box into which the Chart and then Panel are added. */ |
25 |
Chart *chart; /*!< The chart contained in vbox. */ |
26 |
ChartData *data[MAX_DATA]; /*!< The data shown in the chart. */ |
27 |
ChartConfig *config; /*!< Settings structure for the chart. */ |
28 |
Style *style; /*!< chart and panel style. */ |
29 |
Panel *panel; /*!< The panel shown beneath the chart, this is just a label |
30 |
really. */ |
31 |
gboolean showText; /*!< True if the chart text overlay should be drawn. */ |
32 |
char *textFormat; /*!< Text overlay format for this chart. */ |
33 |
void (*format)(gchar *, gint, gchar *); /*!< Text formatting function */ |
34 |
} BUPSChart; |
35 |
.............................. |
36 |
-----------------------//---------------------------- |
37 |
-- |
38 |
äÁ ÚÄÒÁ×ÓÔ×ÕÅÔ ÔÏ, ÂÌÁÇÏÄÁÒÑ ÞÅÍÕ ÍÙ, ÎÅÓÍÏÔÒÑ ÎÉ ÎÁ ÞÔÏ.(c) úÁÄÏÒÎÏ× |
39 |
Registered Linux User #317544 |
40 |
Linux 2.6.11.12 i686 AMD Athlon(tm) XP 2200+ |
41 |
-- |
42 |
gentoo-user-ru@g.o mailing list |