Opened 11 years ago
Closed 10 years ago
#43487 closed defect (fixed)
libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC
Reported by: | udbraumann | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard ppc | Cc: | cooljeanius (Eric Gallager), jon@… |
Port: | libcdr |
Description
Apparently some recent modifications of CXXFLAGS for libcdr have gone too far for Xcode GCC 4.2:
:info:build CXX CDRCollector.lo :info:build In file included from CDRCollector.h:18, :info:build from CDRCollector.cpp:12: :info:build /opt/local/include/lcms2.h:133:10: warning: use of C99 long long integer constant :info:build /opt/local/include/lcms2.h:140:10: warning: use of C99 long long integer constant :info:build In file included from CDRCollector.h:18, :info:build from CDRCollector.cpp:12: :info:build /opt/local/include/lcms2.h:134: error: ISO C++ does not support 'long long' :info:build /opt/local/include/lcms2.h:141: error: ISO C++ does not support 'long long' :info:build make[3]: *** [CDRCollector.lo] Error 1
Log file will be attached.
Attachments (1)
Change History (11)
Changed 11 years ago by udbraumann
comment:1 Changed 11 years ago by dbevans (David B. Evans)
Cc: | devans@… removed |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Status: | new → assigned |
Summary: | libcdr @0.0.16 stops building: ISO C++ does not support 'long long' → libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC |
Version: | 2.2.1 |
comment:2 follow-up: 3 Changed 11 years ago by dbevans (David B. Evans)
comment:3 Changed 11 years ago by udbraumann
Replying to devans@…:
Does adding the following to the Portfile help?
configure.cxxflags-append -Wno-long-long
Yes, thanks, after cleaning and adding this line to the portfile, the upgrade to libcdr @0.0.16
was successful on my 10.5.8. PPC.
comment:4 Changed 11 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fix committed in r119439.
comment:6 Changed 10 years ago by jon@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This also just bit me on SL. OSX 10.6.8 Intel Core Duo
Adding that line locally allowed a successful build.
comment:8 Changed 10 years ago by dbevans (David B. Evans)
Fix extended to SL in r122144. Please remove the local fix, upgrade your ports and rebuild to verify fix using
sudo port selfupdate sudo port -ns upgrade --force libcdr
comment:9 Changed 10 years ago by jon@…
Verified that the fix now works for me after cleaning the local edits.
comment:10 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Thanks.
Note: See
TracTickets for help on using
tickets.
Does adding the following to the Portfile help?