This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/15242] function-like cast notation
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 14 Mar 2017 11:17:54 +0000
- Subject: [Bug c++/15242] function-like cast notation
- Auto-submitted: auto-generated
- References: <bug-15242-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15242
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
We should obviously fix that, but I thought I'd mention the workaround for
folks that come here after running into this:
(gdb) macro define __DBL_MAX__ ((double)1.79769313486231570815e+308L)
I.e., redefine the macro to something that gdb understands. Evaluating
expressions that involve __DBL_MAX__ will now use GDB's definition instead of
the originally compiled in one.
--
You are receiving this mail because:
You are on the CC list for the bug.