[MacPorts] #21125: parma polyhedra library and -

MacPorts noreply at macports.org
Sat Sep 5 14:19:24 PDT 2009


#21125: parma polyhedra library and -
-------------------------------------+--------------------------------------
 Reporter:  alex_a_bordeaux@…        |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Low                      |   Milestone:                                       
Component:  ports                    |     Version:  1.8.0                                
 Keywords:                           |        Port:  ppl                                  
-------------------------------------+--------------------------------------
 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)

-- 
Ticket URL: <http://trac.macports.org/ticket/21125>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list