7 Apr 21:17
Bug#188054: gcm 2.0.4-2 can compile - problems with undeclared identifiers
Mantas Kriauciunas <monte <at> mail.lt>
2003-04-07 19:17:41 GMT
2003-04-07 19:17:41 GMT
Package: gcm Version: 2.0.3-2 Severity: normal Hi, When I compiled gcm on woody I manually fixed all problems in sources: There are 3 or 4 problems with declaring identifiers - in some places indentifiers are declared not in begining of functions - see for example mainwin_callbacks.c - I got this error during compilation: mainwin_callbacks.c: In function `clipboard_get_selection_cb': mainwin_callbacks.c:831: parse error before `*' mainwin_callbacks.c:833: `targets' undeclared (first use in this function) when I moved text GList *targets=NULL; from line 831 to beginning of clipboard_get_selection_cb function (line 825) I can compile this file withouth problems. Also there are same problems with textitemwin_callbacks.c: textitemwin_callbacks.c: In function `on_htmlview_mustupdate': textitemwin_callbacks.c:258: parse error before `*' textitemwin_callbacks.c:260: `start' undeclared (first use in this function) textitemwin_callbacks.c:260: (Each undeclared identifier is reported only once(Continue reading)
C99 compliant compilers do accept and compile
that code, eg: gcc 3.2
RSS Feed