cmake: set warning and error options

The set is far from perfect, but guards against common errors with GCC.
This commit is contained in:
Eugene Shalygin
2017-04-27 14:35:28 +02:00
parent 98415917c6
commit c4e16aa820
9 changed files with 147 additions and 7 deletions

View File

@@ -54,10 +54,10 @@ public:
explicit AbstractWebApplication(QObject *parent = 0);
virtual ~AbstractWebApplication();
Http::Response processRequest(const Http::Request &request, const Http::Environment &env);
Http::Response processRequest(const Http::Request &request, const Http::Environment &env) final;
protected:
virtual void processRequest() = 0;
virtual void doProcessRequest() = 0;
bool isBanned() const;
int failedAttempts() const;