Re: garnome-0.20.0: gnome-terminal compile problem



On Tue, Jan 14, 2003 at 09:30:11AM +0100, Francesco Marletta wrote:
> Hi
> my RH7.3 fails to compile the gnome-terminal provided with the garnome
> 0.20.0:

Had the same problem.
> 
> this is the error message:
> 
> encoding.c: In function `update_active_encodings_from_string_list':
> encoding.c:356: parse error before `*'

Go to to line 356 and change 
      const TerminalEncoding *e;
      charset = tmp->data;
      TerminalEncoding *encoding;
to
      const TerminalEncoding *e;
      TerminalEncoding *encoding;
      charset = tmp->data;

i.e. switch the two last lines. Since its a c program variable
declarations must come before code.
 
I would have thought that everyone would see this problem, right?

/Bjarke
-- 
Bjarke <rodaz diku dk>
http://www.diku.dk/students/rodaz

Regnant populi.




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