Opened 8 months ago
Last modified 8 months ago
#69791 new defect
geany @2.0 Fails to Build on High Sierra - default member initializer for 'character' needed within definition of enclosing class
Reported by: | RobK88 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | highsierra | Cc: | RobK88 |
Port: | geany |
Description (last modified by RobK88)
geany @2.0 Fails to Build on High Sierra
src/CaseConvert.cxx:593:3: error: default member initializer for 'character' needed within definition of enclosing class 'CaseConverter' outside of member functions CharacterConversion() noexcept = default; ^ src/CaseConvert.cxx:590:7: note: default member initializer declared here int character = 0; ^ 1 error generated. make[2]: *** [src/libscintilla_la-CaseConvert.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f src/.deps/libscintilla_la-CaseFolder.Tpo src/.deps/libscintilla_la-CaseFolder.Plo make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0/scintilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0" && /usr/bin/make -j2 -w all Exit code: 2 Error: Failed to build geany: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
See main.log
P.S. I suspect clang-16
is too strict. I will try to build with an older clang compiler.
Attachments (1)
Change History (5)
Changed 8 months ago by RobK88
comment:1 Changed 8 months ago by RobK88
Port: | geany added |
---|
comment:2 Changed 8 months ago by RobK88
Description: | modified (diff) |
---|
comment:3 Changed 8 months ago by RobK88
Yes, geany @2.0
does build just fine with an older clang compiler like clang-11
.
I suspect it will also build with clang-15
but I did not try.
Here is a workaround:
bash-3.2$ sudo port clean geany Password: ---> Cleaning geany bash-3.2$ bash-3.2$ sudo port -v upgrade geany configure.compiler=macports-clang-11 etc
comment:4 Changed 8 months ago by RobK88
Cc: | RobK88 added |
---|
Note: See
TracTickets for help on using
tickets.
main.log