Opened 7 months ago

Last modified 7 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 — at Version 2

Reported by: RobK88 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: highsierra Cc:
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.

Change History (3)

Changed 7 months ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 7 months ago by RobK88

Port: geany added

comment:2 Changed 7 months ago by RobK88

Description: modified (diff)
Note: See TracTickets for help on using tickets.