This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15242] function-like cast notation


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]