Re: bugs happen when building in darwin

Thiago Jung Bauermann via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel,gmane.comp.gdb.bugs.general
Message-ID <[email protected]>
Hello,


Li Hua via Gdb <[email protected]> writes:

> 3:Error(happen when do the 'make' processs):
> darwin-nat.c:1949:21: error: use of undeclared identifier 'command_style'
>                    styled_string (command_style.style (), "run"),
>                                   ^
> darwin-nat.c:1950:21: error: use of undeclared identifier 'command_style'
>                    styled_string (command_style.style (),
>                                   ^
> darwin-nat.c:1959:20: error: use of undeclared identifier 'command_style'
>                   styled_string (command_style.style (), "run"),
>
>
> To this problem, I have personally tried to fix it. And I found the reason causing this error is that the header file "cli/cli-style.h" doesn't been included in "darwin-nat.c". When I add the line '#include "cli/cli-style.h"'
> , the error disappears.
>
> Thank you for reading this. Looking forward your reply.

Thank you for your detailed report! This has also been reported a few
days ago here:

https://sourceware.org/bugzilla/show_bug.cgi?id=32610

The fix you mention has been committed. A new GDB 16.2 release will be
done shortly that will include it.

As an aside, the bug-gdb mailing list has been discontinued. In the
future, it's best to either file a new bug report
https://sourceware.org/bugzilla/ or send an email to the
[email protected] mailing list.

--
Thiago
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.