diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-01-11 10:17:39 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2015-01-12 13:26:41 +0100 |
commit | a690828cca4b70db48ea0aa39c79e782b650b0d8 (patch) | |
tree | fec02571f45c3c48795add73c5662fd97586d6a3 /src/libs/cplusplus/MatchingText.cpp | |
parent | 10e6c40e1609ab8de58fc35cc3c4ef0a74ab83f5 (diff) | |
download | qt-creator-a690828cca4b70db48ea0aa39c79e782b650b0d8.tar.gz |
MSVC: Suppress unsafe template usage warnings
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\algorithm(1119) : warning C4996: 'std::_Transform1': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\algorithm(1100) : see declaration of 'std::_Transform1'
d:\projects\qt-creator\qt-creator\src\libs\utils\algorithm.h(249) : see reference to function template instantiation '_OutIt std::transform<QList<T>::const_iterator,Utils::`anonymous-namespace'::QSetInsertIterator<Container>,F>(_InIt,_InIt,_OutIt,_Fn1)' being compiled
with
[
_OutIt=Utils::`anonymous-namespace'::QSetInsertIterator<QSet<QString>>,
T=QString,
Container=QSet<QString>,
F=std::tr1::function<QString (const QString &)>,
_InIt=QList<QString>::const_iterator,
_Fn1=std::tr1::function<QString (const QString &)>
]
d:\projects\qt-creator\qt-creator\src\libs\utils\algorithm.h(317) : see reference to function template instantiation 'C Utils::TransformImpl<C,SC>::call<F>(const SC &,F)' being compiled
with
[
C=QSet<QString>,
SC=QStringList,
F=std::tr1::function<QString (const QString &)>
]
D:\Projects\qt-creator\qt-creator\src\libs\utils\codegeneration.cpp(113) : see reference to function template instantiation 'QSet<T> Utils::transform<QSet,QStringList,std::tr1::function<_Fty>>(const SC &,F)' being compiled
with
[
T=QString,
_Fty=QString (const QString &),
SC=QStringList,
F=std::tr1::function<QString (const QString &)>
]
Change-Id: Iaf7c5fcdfbf5961b92c30b1d37b18e5476f6b7e1
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/libs/cplusplus/MatchingText.cpp')
0 files changed, 0 insertions, 0 deletions