dillo-browser / dillo

Dillo, a multi-platform graphical web browser
https://dillo-browser.github.io/
GNU General Public License v3.0
572 stars 30 forks source link

misc.hh: error: class lout::misc::NotSoSimpleVector<T> has no member named arrayExtra #281

Closed rodarima closed 1 month ago

rodarima commented 1 month ago

From: https://bugs.gentoo.org/939137

In file included from object.hh:7,
                 from container.hh:4,
                 from container.cc:23:
misc.hh: In copy constructor lout::misc::NotSoSimpleVector<T>::NotSoSimpleVector(const lout::misc::NotSoSimpleVector<T>&):
misc.hh:384:13: error: class lout::misc::NotSoSimpleVector<T> has no member named arrayExtra; did you mean arrayExtra1? [-Wtemplate-body]
  384 |       this->arrayExtra = NULL;
      |             ^~~~~~~~~~

It seems we left an outdated constructor. This was caught by gcc 15.