diff options
| author | Jian Liang <jianliang79@gmail.com> | 2017-01-30 16:13:59 +0800 |
|---|---|---|
| committer | jian liang <jianliang79@gmail.com> | 2017-02-01 15:04:02 +0000 |
| commit | 015b53e9b4091c28b8a2d7931788c2286a245201 (patch) | |
| tree | 2928e7f4e1cc9d1d119c41272a0b8fbfca23eeb8 /src/corelib/thread/qmutex.cpp | |
| parent | 47cded3e6f271c86de65afee00a028cbe9826403 (diff) | |
Turn on -utf-8 compiler option for msvc2015 update 2 and up
Building qt with msvc would fail with the -developer-build configure
option turned on under simplified chinese locale.
This is because msvc will emit warnings for source files with utf-8
characters which are not representable in CP936, and -developer-build
implies treating warnings as errors.
This patch turn on -utf-8 compiler option for msvc2015 update 2
and up only for building qt.
Task-number: QTBUG-58161
Change-Id: If38ea11eb1f39f8e08efa1cccb92e0eea50daf92
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/corelib/thread/qmutex.cpp')
0 files changed, 0 insertions, 0 deletions
