[cfe-dev] Possible recursive template bug in clang 3.3?

Alex alex323 at gmail.com
Sun Dec 29 16:01:09 PST 2013


Hello:

The attached application fails to compile on the following platform:
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610

but it works fine on gcc 4.8. I am using Boost 1.55.0. The error is as
follows:

/usr/include/c++/v1/array:295:24: fatal error: recursive template
instantiation exceeded maximum depth of 256

I am not sure if this is a clang problem or a libc++ problem. Does
anyone know what could be going wrong?

Thank you.

-- 
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: text/x-c++src
Size: 428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131229/b262c2ba/attachment.cpp>


More information about the cfe-dev mailing list