[Lemon-user] C++11 on xcode
Alpar Juttner
alpar at cs.elte.hu
Tue Jan 22 09:06:04 CET 2013
Hi Peter,
> have you experienced any issues while compiling LEMON with clang / LLVM?
> I want to use C++1 with "libc++ with C++11 support"
It depends on which lemon and which clang version you use. The clang
related compilation problems have been fixed in the LEMON development
version (http://lemon.cs.elte.hu/hg/lemon-main), see changesets
[761fe0846f49], [00f8d9f9920d] and [e344f0887c59].
Those fixes were tested with clang version 3.2. I now rechecked the
latest version with clang 3.1, and it compiles well with a single
harmless warning in arg_parser.cc in release mode (I'll fix it soon).
As far as I remember, we experienced a couple of serious problems with
older clang versions (2.x).
Regards,
Alpar
>
> These are the issues:
>
> include/lemon/bits/alteration_notifier.h:197:42: No type named 'iterator' in 'std::__1::list<lemon::AlterationNotifier<lemon::DigraphExtender<lemon::ListDigraphBase>, lemon::ListDigraphBase::Node>::ObserverBase *, std::__1::allocator<lemon::AlterationNotifier<lemon::DigraphExtender<lemon::ListDigraphBase>, lemon::ListDigraphBase::Node>::ObserverBase *>>'
>
> include/lemon/bits/alteration_notifier.h:197:42: No type named 'iterator' in 'std::__1::list<lemon::AlterationNotifier<lemon::DigraphExtender<lemon::ListDigraphBase>, lemon::ListDigraphBase::Arc>::ObserverBase *, std::__1::allocator<lemon::AlterationNotifier<lemon::DigraphExtender<lemon::ListDigraphBase>, lemon::ListDigraphBase::Arc>::ObserverBase *>>'
>
> include/lemon/bits/alteration_notifier.h:197:42: No type named 'iterator' in 'std::__1::list<lemon::AlterationNotifier<lemon::GraphExtender<lemon::ListGraphBase>, lemon::ListGraphBase::Node>::ObserverBase *, std::__1::allocator<lemon::AlterationNotifier<lemon::GraphExtender<lemon::ListGraphBase>, lemon::ListGraphBase::Node>::ObserverBase *>>'
>
> include/lemon/bits/alteration_notifier.h:197:42: No type named 'iterator' in 'std::__1::list<lemon::AlterationNotifier<lemon::GraphExtender<lemon::ListGraphBase>, lemon::ListGraphBase::Arc>::ObserverBase *, std::__1::allocator<lemon::AlterationNotifier<lemon::GraphExtender<lemon::ListGraphBase>, lemon::ListGraphBase::Arc>::ObserverBase *>>'
>
> include/lemon/bits/alteration_notifier.h:197:42: No type named 'iterator' in 'std::__1::list<lemon::AlterationNotifier<lemon::GraphExtender<lemon::ListGraphBase>, lemon::ListGraphBase::Edge>::ObserverBase *, std::__1::allocator<lemon::AlterationNotifier<lemon::GraphExtender<lemon::ListGraphBase>, lemon::ListGraphBase::Edge>::ObserverBase *>>'
>
>
> Thank you for your help!
>
> Peter
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>
More information about the Lemon-user
mailing list