Commit Graph

114 Commits

Author SHA1 Message Date
Roman Telezhynskyi
55a7d2ade8 Use Wno-pragmas instead of Wno-unknown-pragmas.
--HG--
branch : develop
2019-04-03 16:12:18 +03:00
Roman Telezhynskyi
709a25e0ed Too many false positive for Wzero-as-null-pointer-constant.
--HG--
branch : develop
2019-04-03 16:10:46 +03:00
Roman Telezhynskyi
35245cd161 Supress Wcast-function-type.
--HG--
branch : develop
2019-04-03 15:42:12 +03:00
Roman Telezhynskyi
2cbeff76d4 Fix bug with GCC keys. Each section must contain keys from previous.
(grafted from 8777105870e8f71e3529b99b415b75e793b6b77d)

--HG--
branch : develop
2019-01-19 14:07:22 +02:00
Roman Telezhynskyi
f35bdb6d75 Release Qt 5.12 brings new requirements for minimal Mac OS X version.
(grafted from 797556e74b8fe3317061958b9bc498fe60d67b01)

--HG--
branch : develop
2018-12-11 09:38:43 +02:00
Roman Telezhynskyi
9ab6b4b842 Ignore Spectre mitigation warning.
VS2017 has added a new warning that indicates where Spectre mitigation
code would be inserted if /Qspectre were specified.

--HG--
branch : release
2018-09-29 09:25:14 +03:00
Roman Telezhynskyi
e9afe63c7b Patch for FreeBSD. ref #877.
--HG--
branch : release
2018-08-12 09:45:04 +03:00
Roman Telezhynskyi
c6e38932dc Update minimal requirements for Qt on Mac OS X.
--HG--
branch : develop
2018-05-22 19:22:11 +03:00
Roman Telezhynskyi
6b6a2632a9 Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
loops.

--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi
c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi
368c3a871a Resolved issue #819. Use OpenGL as render for view.
--HG--
branch : develop
2018-03-10 16:39:37 +02:00
Roman Telezhynskyi
845f8e3116 Comment unsuported Clang key on Mac.
--HG--
branch : develop
2018-03-10 16:35:14 +02:00
Roman Telezhynskyi
a91b1a3816 Speed optimization for method VAbstractPattern::ListMeasurements().
--HG--
branch : develop
2018-01-24 13:16:29 +02:00
Roman Telezhynskyi
6e194e966b Do not create a symlink if already exists.
--HG--
branch : develop
2017-10-30 10:02:01 +02:00
Roman Telezhynskyi
143c5b4941 Key -Wstrict-overflow must be suppressed separately on Windows.
--HG--
branch : develop
2017-09-30 10:36:36 +03:00
Roman Telezhynskyi
5ced931a04 Lupdate.
--HG--
branch : develop
2017-09-29 21:27:38 +03:00
Roman Telezhynskyi
4d113db163 Cannot suppress warning -Wstrict-overflow. Completely disable it.
--HG--
branch : develop
2017-09-29 19:05:34 +03:00
Roman Telezhynskyi
77a46aa2c5 Fix Clang warning unknown warning option.
--HG--
branch : develop
2017-09-11 22:30:11 +03:00
Roman Telezhynskyi
372ab02bbc Resolved issue #744. Check for Updates button produces error.
(grafted from 61294fbade9ec4418eb4e58b33cfae7f82281c55)

--HG--
branch : develop
2017-08-06 21:06:59 +03:00
Roman Telezhynskyi
703c9f5f06 Clang warnings.
--HG--
branch : develop
2017-07-07 10:22:24 +03:00
Roman Telezhynskyi
9a074266b9 Completely disable warning Wstack-protector.
--HG--
branch : develop
2017-07-06 15:45:58 +03:00
Roman Telezhynskyi
1726b55339 GCC warnings.
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi
b6e0d97df0 Qmake. Fix masks to support 64 bit versions of compilers.
--HG--
branch : develop
2017-07-05 11:35:32 +03:00
Roman Telezhynskyi
d25979f054 Merged with feature.
--HG--
branch : develop
2017-07-04 19:53:05 +03:00
Roman Telezhynskyi
7ef0786c1c Fix test failures.
--HG--
branch : develop
2017-07-01 23:17:06 +03:00
Roman Telezhynskyi
05d2873de7 Merge with develop.
--HG--
branch : feature
2017-06-26 11:34:04 +03:00
Roman Telezhynskyi
d753ff4863 Fix build on Windows.
--HG--
branch : develop
2017-06-26 00:27:52 +03:00
Roman Telezhynskyi
146bf98f84 Merge with develop.
--HG--
branch : feature
2017-06-23 16:21:11 +03:00
Roman Telezhynskyi
ffa86a708a New way to speed up building time.
--HG--
branch : develop
2017-06-23 12:25:30 +03:00
Roman Telezhynskyi
d514b22611 Because we have been using C++11 we don't need this key.
--HG--
branch : feature
2017-06-20 11:30:44 +03:00
Roman Telezhynskyi
8e83f66572 Removed keys that Clang doesn't support anymore. 2017-05-10 17:20:19 +03:00
Roman Telezhynskyi
704a263352 Fix building if not found appropriate commit hash.
--HG--
branch : release
2017-04-17 11:46:10 +03:00
Roman Telezhynskyi
3f1b042d6c Get hash also from git repository.
Because we use both hg and git (as mirror) we can get hash of current commit
from git too.

--HG--
branch : release
2017-04-10 20:24:58 +03:00
Roman Telezhynskyi
49529815fd Disable warning Wweak-vtables.
--HG--
branch : develop
2017-04-01 18:09:32 +03:00
Roman Telezhynskyi
50a5119960 New warning keys since GCC 7.
--HG--
branch : develop
2017-03-23 10:36:11 +02:00
Roman Telezhynskyi
0941b018fd Use GCC's warning key -Wzero-as-null-pointer-constant.
This flag will be useful for checking using new C++11 keyword nullptr. But
because this flag produce a lot "false alarm" from insides of Qt we can't
suppress better to wait time when Qt team will fully use Q_NULLPTR macros.

--HG--
branch : develop
2017-02-21 07:10:35 +02:00
Roman Telezhynskyi
f982bea7ba Add OpenSSL library to bundle to prevent error "QSslSocket error when SSL is
NOT used".

Try to prevent crashes on Windows because OpenSSL library is not installed or
installed very old version. Also will help suppress annoying messages.

--HG--
branch : develop
2017-01-24 16:12:43 +02:00
Roman Telezhynskyi
826236ffb9 Clang on MAC OS X doesn't support all options
--HG--
branch : develop
2016-10-31 15:42:47 +02:00
Roman Telezhynskyi
50e3e4e9d7 Try to make output less noisy.
--HG--
branch : develop
2016-08-21 20:01:07 +03:00
Roman Telezhynskyi
34a960fcd6 MSVC warnings.
--HG--
branch : develop
2016-08-07 15:12:08 +03:00
Roman Telezhynskyi
6a2c87dacf Added warnings that appeared after GCC 5/6 release.
--HG--
branch : develop
2016-08-07 14:14:17 +03:00
Roman Telezhynskyi
549a6e5780 Ignore warning C4718.
--HG--
branch : develop
2016-08-06 23:35:30 +03:00
Roman Telezhynskyi
acc7cd34ce Ignore warning C4371.
--HG--
branch : develop
2016-08-06 23:20:09 +03:00
Roman Telezhynskyi
9f77834849 Ignore warning C4599.
--HG--
branch : develop
2016-08-06 23:04:45 +03:00
Roman Telezhynskyi
69e0ff74e6 MSVC warnings.
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi
483e56866d Added MSVC warnings.
--HG--
branch : develop
2016-07-29 21:04:53 +03:00
Roman Telezhynskyi
439b1577f5 Disable warning Wunsafe-loop-optimizations.
--HG--
branch : develop
2016-07-25 18:22:42 +03:00
Roman Telezhynskyi
dbcea3a979 GCC warnings.
--HG--
branch : develop
2016-07-20 18:58:21 +03:00
Roman Telezhynskyi
6f56b46d26 Fixed Clang warnings.
--HG--
branch : develop
2016-05-03 19:50:37 +03:00
Roman Telezhynskyi
1b596b325a On Unix systems create symbolic links instead of copying files.
--HG--
branch : develop
2015-12-18 16:46:31 +02:00
Roman Telezhynskyi
d9c5439443 Try speed up compilation. Copy only when the SOURCE file is newer than the
destination file or when the destination file is missing.

--HG--
branch : develop
2015-12-03 22:08:01 +02:00
Roman Telezhynskyi
5eed97c640 Enable #pragma message in Clang.
--HG--
branch : develop
2015-11-16 12:28:21 +02:00
Roman Telezhynskyi
7038c25c39 Turn on PCH on mac os x.
--HG--
branch : develop
2015-11-16 12:22:34 +02:00
Roman Telezhynskyi
f1796eaf90 GCC warnings. Don't use PCH if use ccache.
--HG--
branch : develop
2015-10-26 12:04:20 +02:00
Roman Telezhynskyi
ad58994c67 Use xcopy everywhere on Windows.
--HG--
branch : develop
2015-10-24 09:49:46 +03:00
Roman Telezhynskyi
6af423e216 Seems like ICC doesn't have key -pedantic.
--HG--
branch : develop
2015-10-21 13:23:52 +03:00
Roman Telezhynskyi
a7f656a412 Alwayse deploy QM files to test directory.
--HG--
branch : develop
2015-10-21 12:35:52 +03:00
Roman Telezhynskyi
69f65cf4e7 ICC warnings.
--HG--
branch : develop
2015-10-21 10:25:27 +03:00
Roman Telezhynskyi
467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi
4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi
e719810f1f Strip if built with MSVC.
--HG--
branch : develop
2015-10-15 07:53:56 +03:00
Roman Telezhynskyi
847940a0ed disable striping exe in make install.
--HG--
branch : develop
2015-10-14 17:50:33 +03:00
Roman Telezhynskyi
97fdd161b7 Optimization copying files.
--HG--
branch : develop
2015-10-11 20:27:47 +03:00
Roman Telezhynskyi
77767ed85b Rename ambiguous Valentina.pri.
--HG--
branch : feature
2015-07-10 12:28:30 +03:00