Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A ADIOS2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 97
    • Issues 97
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Podhorszki, Norbert
  • ADIOS2
  • Issues
  • #1485
Closed
Open
Issue created Jun 09, 2019 by Podhorszki, Norbert@pnbOwner

Compile Error with MSVC 19.04

Created by: ax3l

Compiler: MSVC 19.0.24241.7 ADIOS2: v2.4.1-rc1

Compiling on Windows with MSVC and CMake+NMake results in an error https://ci.appveyor.com/project/conda-forge/staged-recipes/builds/25153984 of the form

%SRC_DIR%\source\adios2/helper/adiosMemory.h(121): warning C4002: too many actual parameters for macro 'RtlCopyMemory'
%SRC_DIR%\source\adios2/helper/adiosMemory.h(114): error C2182: 'memcpy': illegal use of type 'void'
%SRC_DIR%\source\adios2/helper/adiosMemory.h(114): error C2988: unrecognizable template declaration/definition
%SRC_DIR%\source\adios2/helper/adiosMemory.h(114): error C2059: syntax error: 'noexcept'
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(260): warning C4002: too many actual parameters for macro 'RtlCopyMemory'
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(255): error C2146: syntax error: missing ')' before identifier 'dest'
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(255): error C2065: 'dest': undeclared identifier
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(255): error C2182: 'memcpy': illegal use of type 'void'
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(255): error C2374: 'adios2::helper::memcpy': redefinition; multiple initialization
%SRC_DIR%\source\adios2/helper/adiosMemory.h(114): note: see declaration of 'adios2::helper::memcpy'
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(255): error C2988: unrecognizable template declaration/definition
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(255): error C2059: syntax error: ','
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(255): error C2059: syntax error: ')'
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(287): error C2143: syntax error: missing ';' before '{'
c:\bld\adios2_1560110677887\work\source\adios2\helper\adiosMemory.inl(287): error C2447: '{': missing function header (old-style formal list?)

Ref: https://github.com/conda-forge/staged-recipes/pull/8526

Assignee
Assign to
Time tracking