This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot
                   |                            |com

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-10-06 01:09:08 UTC ---
(In reply to comment #0)
> /home/samson/src/gccB451/arm-none-linux-gnueabi/libstdc++-v3/include/type_traits:179:
> error: a function call cannot appear in a constant-expression
> /home/samson/src/gccB451/arm-none-linux-gnueabi/libstdc++-v3/include/type_traits:179:
> error: template argument 2 is invalid

I know very little about cross-compilation, but something seems badly wrong
with the setup you are using: the 4.5.1 C++ front-end definitely implements the
__is_trivial "builtin".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]