bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] Fw: [Bug gdb/15960] Error during build gdb with MinGW on


From: Markus Hager
Subject: [Bug-readline] Fw: [Bug gdb/15960] Error during build gdb with MinGW on Windows -> util.c
Date: Tue, 17 Sep 2013 14:20:29 +0200 (CEST)

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" <address@hidden>
An: address@hidden
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 address@hidden, get it fixed, and then backport the fix to GDB.

--
You are receiving this mail because:
You reported the bug.

reply via email to

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