[
https://issues.apache.org/jira/browse/IGNITE-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588053#comment-15588053
]
Vladimir Ozerov commented on IGNITE-3705:
-----------------------------------------
Reviewed the fix. Looks good to me.
> Warnings when build ignite and ignite-example cpp projects with Visual Studio
> 2015 (v140) toolset
> -------------------------------------------------------------------------------------------------
>
> Key: IGNITE-3705
> URL: https://issues.apache.org/jira/browse/IGNITE-3705
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 1.7
> Environment: Windows 2010, Visual Studio 2015
> Reporter: Ksenia Rybakova
> Assignee: Vladimir Ozerov
> Priority: Minor
> Labels: cpp
> Fix For: 1.8
>
>
> The following warnings apper when build ignite and ignite-example cpp
> projects with Visual Studio 2015 (v140) toolset:
> {noformat}
> platforms\cpp\common\include\ignite/ignite_error.h(90): warning C4275: non
> dll-interface class 'std::exception' used as base for dll-interface class
> 'ignite::IgniteError'
> C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\include\vcruntime_exception.h(43): note: see declaration of
> 'std::exception'
> platforms\cpp\common\include\ignite/ignite_error.h(89): note: see declaration
> of 'ignite::IgniteError'
> cl : Command line warning D9025: overriding '/sdl-' with '/GS-'
> {noformat}
> Steps to reproduce:
> - Install VS 2015 and SDK 8.1
> - Open %IGNITE_HOME%\platforms\cpp\project\vs\ignite.sln and
> %IGNITE_HOME%\platforms\cpp\examples\project\vs\ignite-examples.sln solutions
> in VS
> - Set "Visual Studio 2015 (v140)" as Platform Toolset and "8.1" as Target
> Platform Version in projects properties
> - Build solutions
> Expected:
> - no errors and warnings
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)