Write UUID transformation more portably #12
Annotations
2 errors
Build
FAILED: src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o
ccache /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGMX_DOUBLE=0 -DGTEST_LANG_CXX11 -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_CONFIG_H -DTEST_DATA_PATH=\"src/gromacs/hardware/tests\" -DTEST_TEMP_PATH=\"/Users/runner/work/gromacs/gromacs/build/src/gromacs/hardware/tests/Testing/Temporary\" -DTMPI_USE_VISIBILITY -I/Users/runner/work/gromacs/gromacs/src/testutils/include -I/Users/runner/work/gromacs/gromacs/src/include -I/Users/runner/work/gromacs/gromacs/build/src/include -I/Users/runner/work/gromacs/gromacs/src -I/Users/runner/work/gromacs/gromacs/src/gromacs/utility/include -I/Users/runner/work/gromacs/gromacs/api/legacy/include -I/Users/runner/work/gromacs/gromacs/build/api/legacy/include -I/Users/runner/work/gromacs/gromacs/src/gromacs/math/include -isystem /Users/runner/work/gromacs/gromacs/src/external/thread_mpi/include -isystem /Users/runner/work/gromacs/gromacs/src/external -isystem /Users/runner/work/gromacs/gromacs/src/external/muparser -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googlemock/include -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googlemock -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googletest/include -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googletest -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -Wall -Wextra -Wpointer-arith -Wmissing-prototypes -Wdeprecated -Wno-deprecated-declarations -Wno-poison-system-directories -Wno-unused-function -Wno-unknown-pragmas -Wno-reserved-identifier -Wno-missing-field-initializers -fno-stack-check -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-source-uses-openmp -Wno-c++17-extensions -Wno-documentation-unknown-command -Wno-covered-switch-default -Wno-switch-enum -Wno-switch-default -Wno-extra-semi-stmt -Wno-weak-vtables -Wno-shadow -Wno-padded -Wno-reserved-id-macro -Wno-double-promotion -Wno-exit-time-destructors -Wno-global-constructors -Wno-documentation -Wno-format-nonliteral -Wno-used-but-marked-unused -Wno-float-equal -Wno-conditional-uninitialized -Wno-conversion -Wno-disabled-macro-expansion -Wno-unused-macros -Wno-unsafe-buffer-usage -Wno-zero-as-null-pointer-constant -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-member-function -MD -MT src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o -MF src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o.d -o src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o -c /Users/runner/work/gromacs/gromacs/src/gromacs/hardware/tests/device_management.cpp
../src/gromacs/hardware/tests/device_management.cpp:144:46: error: no matching function for call to 'uint32FromBytes'
result += gmx::formatString("%2.2x", uint32FromBytes<uuid.size()>(uuid, byteOffset));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/gromacs/hardware/tests/device_management.cpp:112:10: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'N'
uint32_t uint32FromBytes(const std::array<std::byte, N>& data, const std::size_t byteOffset)
^
../src/gromacs/hardware/tests/device_management.cpp:149:46: error: no matching function for call to 'uint32FromBytes'
result += gmx::formatString("%2.2x", uint32FromBytes<uuid.size()>(uuid, byteOffset));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/gromacs/hardware/tests/device_management.cpp:112:10: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'N'
uint32_t uint32FromBytes(const std::array<std::byte, N>& data, const std::size_t byteOffset)
^
../src/gromacs/hardware/tests/device_management.cpp:154:46: error: no matching function for call to 'uint32FromBytes'
result += gmx::formatStrin
|
Build
Process completed with exit code 1.
|
Loading