Hello,
I discovered an error in file util.c, at line 392 there is a missing ';' .
Sea also the bug report posted to gdb in the mail history below.
Best regards,
Markus
Gesendet: Dienstag, 17. September 2013 um 12:27 Uhr
Von: "qiyao at gcc dot gnu.org" <[email protected]>
An: [email protected]
Betreff: [Bug gdb/15960] Error during build gdb with MinGW on Windows -> util.c
Von: "qiyao at gcc dot gnu.org" <[email protected]>
An: [email protected]
Betreff: [Bug gdb/15960] Error during build gdb with MinGW on Windows -> util.c
https://sourceware.org/bugzilla/show_bug.cgi?id=15960
--- Comment #3 from Yao Qi <qiyao at gcc dot gnu.org> ---
(In reply to hager-markus from comment #2)
> gcc version: 4.8.1
>
> error message:
> util.c: In function '_rl_strnicmp':
> util.c:394:3: error: expected ';' before 'return'
> return (0);
> ^
>
> I guess this occurs only during the build on windows because otherwise I
> couldn't imagine why this error wasn't discovered earlier. By the way, if
> you look into the util.c I think this error is quite obvious, or is there
> any case where the ; could be missed?
>
I am using i686-pc-mingw32-gcc to cross compile GDB for windows. I didn't see
the error before. This piece of code is surrounded by #if !defined
(HAVE_STRCASECMP) and #endif, HAVE_STRCASECMP is defined in my config.h. This
piece of code is not compiled for me, and probably that is the reason why I
didn't see this error before.
GDB is using readline from
(http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html). Please report this
error to [email protected], get it fixed, and then backport the fix to GDB.
--
You are receiving this mail because:
You reported the bug.
--- Comment #3 from Yao Qi <qiyao at gcc dot gnu.org> ---
(In reply to hager-markus from comment #2)
> gcc version: 4.8.1
>
> error message:
> util.c: In function '_rl_strnicmp':
> util.c:394:3: error: expected ';' before 'return'
> return (0);
> ^
>
> I guess this occurs only during the build on windows because otherwise I
> couldn't imagine why this error wasn't discovered earlier. By the way, if
> you look into the util.c I think this error is quite obvious, or is there
> any case where the ; could be missed?
>
I am using i686-pc-mingw32-gcc to cross compile GDB for windows. I didn't see
the error before. This piece of code is surrounded by #if !defined
(HAVE_STRCASECMP) and #endif, HAVE_STRCASECMP is defined in my config.h. This
piece of code is not compiled for me, and probably that is the reason why I
didn't see this error before.
GDB is using readline from
(http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html). Please report this
error to [email protected], get it fixed, and then backport the fix to GDB.
--
You are receiving this mail because:
You reported the bug.
_______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
