octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #58814] Abort, core dump on exiting from graph


From: anonymous
Subject: [Octave-bug-tracker] [bug #58814] Abort, core dump on exiting from graphics code
Date: Fri, 24 Jul 2020 15:57:34 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #4, bug #58814 (project octave):


[comment #3 comment #3:]
> Does the attached change make a difference?
> 
> If it does: Similar constructs are used all over the place in graphics.cc.
Maybe all of those dynamic_casts should be evaluated whether they are save.
> 
> (file #49540)

I get this build error that it couldn't convert base_ax_props to bool:


../libinterp/corefcn/graphics.cc: In member function ‘bool
patch::properties::get_do_lighting() const’:
../libinterp/corefcn/graphics.cc:9625:7: error: could not convert
‘base_ax_props’ from ‘base_properties’ to ‘bool’
 9625 |   if (base_ax_props)
      |       ^~~~~~~~~~~~~
      |       |
      |       base_properties
make[2]: *** [Makefile:18933: libinterp/corefcn/libcorefcn_la-graphics.lo]
Error 1



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58814>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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