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 gdb/21549] c-typeprint.c:262: internal-error: void cp_type_print_method_args(type*, const char*, const char*, int, ui_file*, const type_print_options*): Assertion `TYPE_CODE (args[0].type) == TYPE_CODE_PTR' failed.


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

--- Comment #9 from Johannes <linuxer at quantentunnel dot de> ---
(In reply to Johannes from comment #7)
> The ELF file was built with "g++ -std=c++11 -O2 -lto ..." in the compiling
> and the linking stage.

There is a typo in the compiler flags, it should read:
g++ -std=c++11 -O2 -flto ...

:-)

Johannes

-- 
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]