[MacPorts] #59931: pstoedit @3.75 does not build on PPC Tiger, Mac OS X 10.4.11, because 'body of constexpr function 'constexpr float rnd(float, float)' not a return-statement'
MacPorts
noreply at macports.org
Thu Jan 9 14:04:20 UTC 2020
#59931: pstoedit @3.75 does not build on PPC Tiger, Mac OS X 10.4.11, because 'body
of constexpr function 'constexpr float rnd(float, float)' not a return-
statement'
------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: tiger
Port: pstoedit |
------------------------+--------------------
Comment (by ballapete):
The same happens on PPC Leopard, Mac OS X 10.5.8:
{{{
libtool: compile: /opt/local/bin/g++-mp-7 -DHAVE_CONFIG_H -I.
-DHAVE_LIBPLOTTER -DHAVE_MKSTEMP -DHAVE_MAGIC -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/local/include/ImageMagick-6
-DHAVE_LIBZIP -DDEFAULTGS=gs
-DPSTOEDITDATADIR=\"/opt/local/share/pstoedit\"
-DPSTOEDITLIBDIR=\"/opt/local/lib/pstoedit\" -Wall -Wextra -Wuninitialized
-Wswitch-default -Wunused -Wshadow -Wwrite-strings -Wcast-qual -Wpointer-
arith -Wno-long-long -I/opt/local/include -Wno-long-long -D_BIG_ENDIAN
-pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -DINTERNALBOOL
-MT drvpdf.lo -MD -MP -MF .deps/drvpdf.Tpo -c drvpdf.cpp -fno-common
-DPIC -o .libs/drvpdf.o
drvpdf.cpp: In function 'constexpr float rnd(float, float)':
drvpdf.cpp:49:1: error: body of constexpr function 'constexpr float
rnd(float, float)' not a return-statement
}
^
make[2]: *** [drvpdf.lo] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_pstoedit/pstoedit/work/pstoedit-3.75/src'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59931#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list