ROOT 6 and Fedora 24 / GCC 6

OK. So I dropped back to 5.34.36 to avoid Cling. Here I get:

g++ -O2 -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT  -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY  -I/home/gluex/gluex_top/root/root_5.34.36/cint/cint/inc -I/home/gluex/gluex_top/root/root_5.34.36/cint/cint/src -I/home/gluex/gluex_top/root/root_5.34.36/cint/cint/src/dict -pthread -Icint/cint/lib/libstrm -Icint/cint/lib/stream -I. -o cint/cint/src/dict/libstrm.o -c cint/cint/src/dict/libstrm.cxx
In file included from cint/cint/src/dict/libstrm.h:37:0,
                 from cint/cint/src/dict/libstrm.cxx:14:
cint/cint/lib/stream/iostrm.h:24:22: fatal error: iostream.h: No such file or directory
 #include <iostream.h>
                      ^
compilation terminated.
Makefile:631: recipe for target 'cint/cint/src/dict/libstrm.o' failed
make[2]: *** [cint/cint/src/dict/libstrm.o] Error 1
make[2]: Leaving directory '/home/gluex/gluex_top/root/root_5.34.36'

I found the following post:

[url]Build failure with gcc 5.1.0: trying to include iostream.h

One piece of advice given there is that ROOT 5 will not ever support GCC 5 and so one should move to ROOT 6.

There is also a patch at the end which I will try next, though it only claims to work for 5.34.00 <= Root < 5.34.30 and is untested.