Andreas Radke wrote:
To me it seems new gcc is more restrictive with missing headers.
Go-OOo failed with a missing printf inclusion. Don't push the
toolchain too fast to core. Give us and the upstream devs enough time
to find fixes.
Here is a complete list of what has changed
(http://gcc.gnu.org/gcc-4.4/porting_to.html)
Header dependency changes:
Some of the standard C++ library include files have been edited to
include only the smallest possible number of additional files. As such,
C++ programs that used |std::printf| without including <cstdio>, or used
|uint32_t| without including <stdint.h> will no longer compile.
In detail:
The file <cstdio> is no longer included as part of <string>, <ios>,
<iomanip>, <streambuf>, or <locale>.
The file <stdint.h> is no longer included as part of <string> or<ios>.
Very minor compared to gcc-4.3...
Allan