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

@@ -96,7 +96,7 @@ private:
// Search data
mutable QHash<quint32, QString> m_countries;
quint32 m_size;
const uchar *m_data;
uchar *m_data;
};
#endif // GEOIPDATABASE_H