About the use of C++11 features
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’
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Johannes,
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
Cool!
and would like to merge this with the newest snapshot. Unfortunately, the LEON3 cross compiler (bcc) is based on gcc4.4.
There appears to be a gcc 4.6 port at http://developer.gaisler.net/download/bcc/linux/4.6.0/ - did you try that? Bjoern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlI8GEMACgkQP5ijxgQLUNlsRQCfc25ZXg+NyWSqIq0GLgJ/cYGz 0nwAn1vs4BRhEPj4r2uPprOQtVLrZsq+ =Kpt9 -----END PGP SIGNATURE-----
participants (2)
-
Björn Döbel -
Johannes Schlatow