vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
555 stars 92 forks source link

Fails to build on sh4 & m68k since v2.73 #295

Closed hpreusse closed 2 years ago

hpreusse commented 2 years ago

Anywhere between 2.70 & 2.73 asymptote stopped building on CPU arch sh4 & m68k. The error message is the same on both arches, hence just one issue report:

In file included from /usr/include/features.h:472,
                 from /usr/include/m68k-linux-gnu/c++/11/bits/os_defines.h:39,
                 from /usr/include/m68k-linux-gnu/c++/11/bits/c++config.h:586,
                 from /usr/include/c++/11/cassert:43,
                 from util.cc:12:
/usr/include/dirent.h:366:6: error: expected initializer before ‘noexcept’
  366 |      __THROW __nonnull ((2, 4))
      |      ^~~~~~~

Please be so kind to have a look at the issue. Thanks!

johncbowman commented 2 years ago

It doesn't look like an asymptote issue. Try compiling a short test program containing #include <cassert>

It is best to submit bug reports against the latest version, in this case, 2.75. Also try ./configure --disable-lsp

hpreusse commented 2 years ago

Interestingly it works with 2.75 on sh4. I'm waiting for results on m68k here. Maybe it was an issue in the build chain.