Improved error messages generated for thrown exceptions.

Suppressed "gcc -Wall -Wextra -pedantic" and "msvc /W4" warnings.
Updated and rebuilt docs.


[SVN r57451]
This commit is contained in:
John Maddock
2009-11-07 15:32:45 +00:00
parent 898b49fa89
commit 6e1f3dcceb
60 changed files with 662 additions and 436 deletions

View File

@ -36,11 +36,11 @@ using namespace std;
istream& getline(istream& is, std::string& s)
{
s.erase();
char c = is.get();
char c = static_cast<char>(is.get());
while(c != '\n')
{
s.append(1, c);
c = is.get();
c = static_cast<char>(is.get());
}
return is;
}