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

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

[Octave-bug-tracker] [bug #61783] [octave forge] (image) errors while in


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61783] [octave forge] (image) errors while installing image package on 7.0.90
Date: Mon, 10 Jan 2022 02:36:15 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55

Follow-up Comment #1, bug #61783 (project octave):

IIUC, that patch resolves a namespace collision with the graphics object
`image` that has been moved to the `octave` namespace in Octave 7.
The image package seems to be using the namespace `octave::image`. That
namespace collides with the object `octave::image` in Octave core.

The patch in MXE Octave resolves that namespace collision by renaming the
namespace used by the image package to `octave_image`.
If you prefer, you can use any other namespace (that doesn't collide with
Octave core). E.g. `octave::image_pkg` or whatever you deem best.

Renaming the namespace in the image package is independent of the version of
Octave core. I.e., it can be done unconditionally for any version of Octave
core (as long as it doesn't collide with a namespace used in any of those
versions).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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