#21125 closed defect (fixed)
ppl uses -Wno-long-double
Reported by: | alex_a_bordeaux@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ppl |
Description (last modified by tobypeterson)
system: 10.6
as known from other packages: unsupported compiler flag -Wno-long-double
---------------- ERROR LOG -------------- 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 (8)
comment:1 Changed 15 years ago by alex_a_bordeaux@…
comment:2 Changed 15 years ago by tobypeterson
Description: | modified (diff) |
---|
comment:3 Changed 15 years ago by tobypeterson
Description: | modified (diff) |
---|
comment:4 Changed 15 years ago by tobypeterson
Priority: | Low → Normal |
---|---|
Summary: | parma polyhedra library and - → ppl uses -Wno-long-double |
Version: | 1.8.0 |
comment:5 Changed 15 years ago by tobypeterson
Resolution: | → fixed |
---|---|
Status: | new → closed |
removed flag in r57066, didn't test compilation though
comment:6 follow-up: 7 Changed 15 years ago by bagnara@…
You seem to be using and old, obsolete version of the PPL. The -Wno-long-double issue was fixed almost two years ago:
2007-11-12 Monday 18:30 Roberto Bagnara <bagnara@…>
- configure.ac (1.294): New versions of GCC on Darwin no longer support -Wno-long-double: we no longer use this option on that platform (people using older versions will simply get lots of warnings they can ignore).
comment:7 follow-up: 8 Changed 15 years ago by alex_a_bordeaux@…
You seem to be using and old, obsolete version of the PPL. The -Wno-long-double issue was fixed almost two years ago
i used the version included in ports (0.9), saw now on the webpage that the actual version is 0.10.2... maybe we should update the port!?
comment:8 Changed 15 years ago by bagnara@…
Replying to alex_a_bordeaux@…:
You seem to be using and old, obsolete version of the PPL. The -Wno-long-double issue was fixed almost two years ago
i used the version included in ports (0.9), saw now on the webpage that the actual version is 0.10.2... maybe we should update the port!?
Definitely. Unless GPL v3+ is a problem for you (that is the license since version 0.10). But apart from this, there is no reason why you may want to use the old version.
also saw that license information is missing in portfile: its gpl v2 ;-)