mirror of
https://github.com/boostorg/regex.git
synced 2025-07-29 12:07:28 +02:00
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:
@ -67,6 +67,8 @@ public:
|
||||
what[5].first - base;
|
||||
return true;
|
||||
}
|
||||
private:
|
||||
IndexClassesPred& operator=(const IndexClassesPred&);
|
||||
};
|
||||
|
||||
void IndexClasses(map_type& m, const std::string& file)
|
||||
|
@ -55,11 +55,11 @@ int process_ftp(const char* response, std::string* msg)
|
||||
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;
|
||||
}
|
||||
|
@ -86,8 +86,8 @@ int main(int argc, const char** argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern const char* pre_expression = "(<)|(>)|\\r";
|
||||
extern const char* pre_format = "(?1<)(?2>)";
|
||||
const char* pre_expression = "(<)|(>)|\\r";
|
||||
const char* pre_format = "(?1<)(?2>)";
|
||||
|
||||
|
||||
const char* expression_text = // preprocessor directives: index 1
|
||||
|
@ -86,8 +86,8 @@ int main(int argc, const char** argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern const char* pre_expression = "(<)|(>)|(&)|\\r";
|
||||
extern const char* pre_format = "(?1<)(?2>)(?3&)";
|
||||
const char* pre_expression = "(<)|(>)|(&)|\\r";
|
||||
const char* pre_format = "(?1<)(?2>)(?3&)";
|
||||
|
||||
|
||||
const char* expression_text = // preprocessor directives: index 1
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -29,11 +29,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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user