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

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

[Octave-bug-tracker] [bug #61821] segfault using tree_parameter_list in


From: anonymous
Subject: [Octave-bug-tracker] [bug #61821] segfault using tree_parameter_list in oct file
Date: Thu, 24 Feb 2022 00:36:06 -0500 (EST)

Follow-up Comment #16, bug #61821 (project octave):

The problem is related to:

#define __MINGW_USE_VC2005_COMPAT 1

that is defined in "config.h" but not in "octave-config.h".
This option makes time_t a 64 bit integer and without it time_t will be
defined as a 32 bit integer.
time_t is used in one of sub-objects of octave_user_function and therefore
octave_user_function will have two different layouts when building Octave and
when building a .oct file.
I placed the definition of __MINGW_USE_VC2005_COMPAT in the test source and it
compiles and runs without any error.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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