About the use of C++11 features

Johannes Schlatow <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <20130920112443.79cb77f7@johanness-latitude>
Hi,

I just noticed that the current snapshot (2013-08-19) doesn't compile
with gcc4.4 anymore, which is apparently due to some C++11 incompatibilities (see below).

Based on the snapshot from April, I got the Fiasco.OC and L4Re port for the LEON3 (sparc)
up and running and would like to merge this with the newest snapshot. Unfortunately, the LEON3
cross compiler (bcc) is based on gcc4.4.

So...what's your policy about supporting oldish cross-compilers?

And, by the way, how do you feel about including the LEON3 code in your repository?

Cheers
 Johannes

Here is the condensed output of a gcc4.4 compilation run:

src/kernel/fiasco/src/lib/libk/cxx/function:34: error: ‘cxx::functor<Res(Args ...)>::functor(cxx::functor<Res(Args ...)>&&)’ cannot be defaulted

src/kernel/fiasco/src/kern/map_util.cpp: In member function ‘void Mu::Auto_tlb_flush<Mem_space>::global_flush()’:
src/kernel/fiasco/src/kern/map_util.cpp:78: error: expected primary-expression before ‘[’ token
src/kernel/fiasco/src/kern/map_util.cpp:78: error: expected primary-expression before ‘)’ token

src/kernel/fiasco/src/kern/map_util.cpp:741: error: expected primary-expression before ‘[’ token
src/kernel/fiasco/src/kern/map_util.cpp:741: error: expected ‘(’ before ‘*’ token
src/kernel/fiasco/src/kern/map_util.cpp:741: error: ‘m’ was not declared in this scope
src/kernel/fiasco/src/kern/map_util.cpp:741: error: expected ‘(’ before ‘size’

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.