Opened 15 years ago

Last modified 15 years ago

#21125 closed defect

parma polyhedra library and - — at Initial Version

Reported by: alex_a_bordeaux@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ppl

Description

system: 10.6

as known from other packages: unsupported compiler flag -Wno-long-double


Command output: /usr/bin/make all-recursive Making all in utils if /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -W -Wall -g -O2 -Wno-long-double -MT timings.o -MD -MP -MF ".deps/timings.Tpo" -c -o timings.o timings.cc; \

then mv -f ".deps/timings.Tpo" ".deps/timings.Po"; else rm -f ".deps/timings.Tpo"; exit 1; fi

sed -e 's,[@]PERL[@],/opt/local/bin/perl,g' -e 's,[@]generated_automatically[@],Generated automatically: do not modify; modify the .in file instead.,g' < ./build_header.in > build_header chmod +x build_header sed -e 's,[@]PERL[@],/opt/local/bin/perl,g' -e 's,[@]generated_automatically[@],Generated automatically: do not modify; modify the .in file instead.,g' < ./text2cxxarray.in > text2cxxarray cc1plus: error: unrecognized command line option "-Wno-long-double"


viz. configure.ac:

darwin*)

darwin=yes if test x"$GCC" = xyes then

CFLAGS="$CFLAGS -Wno-long-double" CXXFLAGS="$CXXFLAGS -Wno-long-double"

fi ;;

solution: don't know if there's a general solution for all these packages that use the "no-long-double" flag; i just tried to compile it without these flags and it seems to work (was able to use the examples in the ./demo directory)

Change History (0)

Note: See TracTickets for help on using tickets.