GCC errors - please help!

Started by
11 comments, last by Fruny 18 years, 7 months ago
It was from DevKitAdv GBA compiler. I got it from
this site.

Heres a link to the exact *.zip I downloaded, incase anybody's
interested:
http://www.webbesen.dk/gba/files/devkitadv.zip


@ender7771: iostream is part of the C++ standard, so
almost all compilers should support it.
Advertisement
Quote:Original post by Crypter
@ender7771: iostream is part of the C++ standard, so
almost all compilers should support it.


Yes, but for certain targets (where storage of the library would be hard/impossible - e.g. embedded platforms - e.g. possibly the GBA) certain parts of the SC++L (including iostreams? not sure...) can be excluded while still being considered complaint with the C++ spec.

It sucks, but it's possible... even assuming a perfect world where everyone implements the latest version of the C++ spec to the line :-). (I think, anyways, iostreams might be on the required list... I don't have a copy of the standard handy)
In a freestanding environment, a conforming C++ compiler implementation is only required to provide <cstddef>, <limits>, <cstdlib>, <new>, <typeinfo>, <exception>, <cstdarg>.

<cstdlib> needs to at least contain abort(), atexit() and exit().
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement