Skip to content

Build failure on Windows #3

Description

@oruebel

In Windows CI I am encountering the following build errors. See https://github.com/NeurodataWithoutBorders/aqnwb/actions/runs/29554010263/job/89120723360?pr=307

MSBuild version 18.7.8+1ac568fee for .NET Framework

  1>Checking Build System
  Building Custom Rule D:/a/aqnwb/aqnwb/build/_deps/remfile-src/CMakeLists.txt
D:\a\aqnwb\aqnwb\build\_deps\remfile-src\src\remfile_vfd.cpp(307,39): error C2589: '(': illegal token on right side of '::' [D:\a\aqnwb\aqnwb\build\_deps\remfile-build\remfile.vcxproj]
              size_t piece_end   = std::min(piece_start + min_chunk, data.size());
                                        ^
  
D:\a\aqnwb\aqnwb\build\_deps\remfile-src\src\remfile_vfd.cpp(309,53): warning C4365: 'argument': conversion from 'size_t' to 'const __int64', signed/unsigned mismatch [D:\a\aqnwb\aqnwb\build\_deps\remfile-build\remfile.vcxproj]
                  std::vector<uint8_t>(data.begin() + piece_start, data.begin() + piece_end);
                                                      ^
  
D:\a\aqnwb\aqnwb\build\_deps\remfile-src\src\remfile_vfd.cpp(309,81): warning C4365: 'argument': conversion from 'size_t' to 'const __int64', signed/unsigned mismatch [D:\a\aqnwb\aqnwb\build\_deps\remfile-build\remfile.vcxproj]
                  std::vector<uint8_t>(data.begin() + piece_start, data.begin() + piece_end);
                                                                                  ^
  
D:\a\aqnwb\aqnwb\build\_deps\remfile-src\src\remfile_vfd.cpp(351,36): error C2589: '(': illegal token on right side of '::' [D:\a\aqnwb\aqnwb\build\_deps\remfile-build\remfile.vcxproj]
          size_t chunk_length = std::min(chunk.size() - chunk_offset, size - written);
                                     ^
  
  remfile_vfd.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions