Opened 11 years ago

Last modified 5 years ago

#40760 closed defect

libpcl 1.7 only builds if template depth is raised — at Version 2

Reported by: fgenolini@… Owned by: luminans@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: vince@…
Port: libpcl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

port install libpcl 

fails unless cmake is re-run with

 -ftemplate-depth=1024

Mac OSX 10.8.5, XCode 5
MacBookPro 2.66GHz Intel Core i7, 4GB RAM

Apps still do not build

Change History (2)

comment:1 Changed 11 years ago by fgenolini@…

When specifying additional variant +perf the build seems to work. This could be because +perf causes MacPort's own clang-3.3 to be used instead of Xcode's clang-3.3

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: vince@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to luminans@…
Port: libpcl added

Yes, we've seen this error with a couple other ports already under Xcode 5. I presume its clang's default template depth is lower than the previous versions'. We've fixed it in the other ports as you suggested, by setting the template depth to 1024.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.