bug-global
[Top][All Lists]
Advanced

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

Re: gcc-4.0.0


From: Shigio Yamaguchi
Subject: Re: gcc-4.0.0
Date: Sat, 23 Apr 2005 09:21:33 +0900

> Hi. Current source cannot be compiled by gcc-4.0.0.

If you have gcc-4.0 environment, would you please try the followign patch?

diff -r1.12 lexcommon.h
52c52
< static int lineno;
---
> static int lexcommon_lineno;
59c59
< #define LINENO        lineno
---
> #define LINENO lexcommon_lineno
64c64
<         lineno = 1;                                                   \
---
>         LINENO = 1;                                                   \
70c70
<               put_begin_of_line(lineno);                              \
---
>               put_begin_of_line(LINENO);                              \
99c99
<       put_end_of_line(lineno);                                        \
---
>       put_end_of_line(LINENO);                                        \
101c101
<       lineno++;                                                       \
---
>       LINENO++;                                                       \
114c114
<       put_end_of_line(lineno);                                        \
---
>       put_end_of_line(LINENO);                                        \
116c116
<       lineno++;                                                       \
---
>       LINENO++;                                                       \
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]