Suppress unsafe warnings of MSVC
authorKurt Pattyn <pattyn.kurt@gmail.com>
Sun, 29 Dec 2013 16:14:20 +0000 (17:14 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 21 Jan 2014 06:54:37 +0000 (07:54 +0100)
commitf54873c81a21084ae0671498c7b295615789ac32
treee23c9ead8111adf454fd2dc0275aed08df6f0a91
parente4b94dd19cccd769f8326df20556a8900e7cfb3f
Suppress unsafe warnings of MSVC

Added a define to suppress MSVC warning “C4996:
This function or variable may be unsafe.”
If the code is really "unsafe" then it is unsafe on
other platforms as well; so fixing these warnings just
for MSVC builds, would clutter the code and wouldn't help
in fixing issues that might exist on other platforms.
Using the same functions across all supported platforms
keeps the code clean and helps in writing code that is
safe across all platforms.

Change-Id: I470072eda4f8174bb911567ef3f061a3582ba449
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
mkspecs/features/qt_module.prf