Opened 9 years ago

Closed 5 years ago

#8507 closed Bugs (worksforme)

Fusion trunk: "fatal error: recursive template instantiation exceeded maximum depth of 128"

Reported by: manphiz@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Not sure whether it is customary to report problems on trunk, but this has been there for a while. On current trunk, as of r84054, fusion fails to build on Mac OS X 10.8.3 with XCode 4.6.2 and Clang-425.0.28 with error (excerpt):

In file included from libs/log/src/init_from_settings.cpp:39:
In file included from ./boost/spirit/include/qi_core.hpp:16:
In file included from ./boost/spirit/home/qi/parser.hpp:15:
In file included from ./boost/spirit/home/qi/domain.hpp:15:
In file included from ./boost/spirit/home/support/meta_compiler.hpp:19:
In file included from ./boost/proto/proto.hpp:12:
In file included from ./boost/proto/core.hpp:21:
In file included from ./boost/proto/fusion.hpp:18:
In file included from ./boost/fusion/include/is_view.hpp:10:
In file included from ./boost/fusion/support/is_view.hpp:12:
./boost/fusion/support/tag_of.hpp:78:39: fatal error: recursive template instantiation exceeded maximum depth of 128
            : traits::tag_of<typename remove_const<T>::type>
                                      ^

Full build log is attached.

Attachments (1)

boost-head-build.log.gz (194.9 KB ) - added by manphiz@… 9 years ago.
Boost trunk build log using clang-425.0.28 from Xcode 4.6.2.

Download all attachments as: .zip

Change History (2)

by manphiz@…, 9 years ago

Attachment: boost-head-build.log.gz added

Boost trunk build log using clang-425.0.28 from Xcode 4.6.2.

comment:1 by Kohei Takahashi, 5 years ago

Resolution: worksforme
Status: newclosed

This is not a fusion specific problem, but also any library have; r84054 is a patch for container library, but the error happens during building log library, and furthermore sometimes the error shows within mpl library.

Note: See TracTickets for help on using tickets.