[jira] [Created] (IGNITE-3705) Warnings when build ignite and ignite-example cpp projects with Visual Studio 2015 (v140) toolset

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-3705) Warnings when build ignite and ignite-example cpp projects with Visual Studio 2015 (v140) toolset

Anton Vinogradov (Jira)
Ksenia Rybakova created IGNITE-3705:
---------------------------------------

             Summary: 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.6
         Environment: Windows 2010, Visual Studio 2015
            Reporter: Ksenia Rybakova
            Priority: Minor


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)