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

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

[Octave-bug-tracker] [bug #50974] SEGFAULT with constructed cmdline_opti


From: Steven Bergner
Subject: [Octave-bug-tracker] [bug #50974] SEGFAULT with constructed cmdline_options
Date: Mon, 8 May 2017 21:59:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36

Follow-up Comment #3, bug #50974 (project octave):

Documenting this behavior on doxyhtml and in the embedded interpreter example
code, would certainly help and people, who want to use octave as a library,
would probably find the hint there.

Note, even people who create an application without arguments,  invoking the
default constructor

application::application (const cmdline_options& opts = cmdline_options ());

e.g., when instantiating a derived application class, may have to reset
optind, before they do so.

I'm not sure what to recommend for resolving this, as I've only just learned
about optind, when investigating this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50974>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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