About the use of C++11 features
Johannes Schlatow
schlatow at ida.ing.tu-bs.de
Fri Sep 20 11:24:43 CEST 2013
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’
More information about the l4-hackers
mailing list