Mantas Kriauciunas | 7 Apr 21:17
Picon

Bug#188054: gcm 2.0.4-2 can compile - problems with undeclared identifiers

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)

Luis Oliveira | 8 Apr 15:08
Picon

Re: Bug#188054: gcm 2.0.4-2 can compile - problems with undeclared identifiers

On Mon, 2003-04-07 at 20:17, Mantas Kriauciunas wrote:
> There are 3 or 4 problems with declaring identifiers - in some places
> indentifiers are declared not in begining of functions

Those are C99'isms :-) C99 compliant compilers do accept and compile
that code, eg: gcc 3.2

--

-- 
Luis Oliveira
luismbo AT netcabo DOT pt

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Picon

Bug#188054: marked as done (gcm 2.0.4-2 can compile - problems with undeclared identifiers)

Your message dated Fri, 11 Apr 2003 16:56:33 +1000
with message-id <20030411065633.GA19261 <at> espresso>
and subject line [luismbo <at> netcabo.pt: Re: [Gcm-devel] Bug#188054: gcm 2.0.4-2 can compile - problems
with undeclared identifiers]
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Apr 2003 18:14:26 +0000
From monte <at> mail.lt Mon Apr 07 13:14:26 2003
Return-path: <monte <at> mail.lt>
Received: from (mantas.namai.lt) [193.219.14.141] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 192b8S-0007he-00; Mon, 07 Apr 2003 13:14:25 -0500
Received: from mantas by mantas.namai.lt with local (Exim 3.35 #1 (Debian))
	id 192c7h-0003SC-00; Mon, 07 Apr 2003 21:17:41 +0200
From: Mantas Kriauciunas <monte <at> mail.lt>
To: Debian Bug Tracking System <submit <at> bugs.debian.org>
Subject: gcm 2.0.4-2 can compile - problems with undeclared identifiers
X-Mailer: reportbug 1.50
(Continue reading)

Picon

Processed: your mail

Processing commands for control <at> bugs.debian.org:

> severity 189046 minor
Bug#189046: balsa: missing image in balsa doc
Severity set to `minor'.

> forwared 189046 http://bugzilla.gnome.org/show_bug.cgi?id=110881
Unknown command or malformed arguments to command.

> tags 185090 + help
Bug#185090: gcm_2.0.4-2(unstable/ia64): FTBFS: cannot find library
There were no tags set.
Tags added: help

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Gmane