[MacPorts] #40634: vigra: recursive template instantiation exceeded maximum depth of 128

MacPorts noreply at macports.org
Tue Oct 1 04:24:15 PDT 2013


#40634: vigra: recursive template instantiation exceeded maximum depth of 128
---------------------------+-------------------------------
  Reporter:  ryandesign@…  |      Owner:  benjamin.seppke@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.0
Resolution:                |   Keywords:
      Port:  vigra         |
---------------------------+-------------------------------

Comment (by benjamin.seppke@…):

 Hi there!

 Finally, I managed to fix that error!
 Just add a line to the port file:

 '''configure.cxxflags-append -ftemplate-depth-1024'''

 since this template depth seems to be sufficient. The reason, why the
 vigra does not compile from scratch with clang-5.0 may be due to a
 different (implicit) setting for the max. recursion depth between v.4.2
 and v.5.0.

 I'd highly appreciate, if anybody with writing privileges adds this line
 to the port file (e.g. after configure.args-append). This bug should be
 marked as fixed afterwards!

 Best wishes,
 Benjamin

 Replying to [comment:4 benjamin.seppke@…]:
 > You may also try the compiler flag -ftemplate-depth-N, where N is the
 maximum template depth, with values larger than 128... I found this for
 clang version 3.1, maybe this flag is also available in clang-5?

-- 
Ticket URL: <https://trac.macports.org/ticket/40634#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list