Opened 15 years ago

Closed 15 years ago

#21749 closed defect (fixed)

py26-svn uses -Wno-long-double, which is not supported by gcc 4.2.

Reported by: deadshort@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: py26-svn

Description

Using gcc-4.2 (the default for 10.6?), the py26-svn build fails with:

--->  Building py26-svn
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python -u generate_svn_error_codes/create_svn_error_codes_hpp.py /opt/local/include/subversion-1
Compile pysvn_version.hpp
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python -u ../Builder/brand_version.py ../Builder/version.info pysvn_version.hpp.template
g++ -Wall -Wno-long-double -fPIC -fexceptions -frtti -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-svn/work/pysvn-1.7.0/Import/pycxx-5.5.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-svn/work/pysvn-1.7.0/Import/pycxx-5.5.0/Src -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/opt/local/include/subversion-1 -I/opt/local/include/apr-1 -I. -DNDEBUG -DDARWIN -DPYCXX_PYTHON_2TO3 -Dinit_pysvn=init_pysvn_2_6 -Dinit_pysvn_d=init_pysvn_2_6_d  generate_svn_error_codes/generate_svn_error_codes.cpp -o generate_svn_error_codes/generate_svn_error_codes
cc1plus: error: unrecognized command line option "-Wno-long-double"

Change History (1)

comment:1 Changed 15 years ago by blb@…

Port: py26-svn added
Resolution: fixed
Status: newclosed

Fixed in r58608.

Note: See TracTickets for help on using tickets.