- Jun 04, 2024
-
-
Marc-Olivier Andrez authored
Below is the type of compilation error I was getting: ``` $ cmake -G Ninja ../.. -DPython_EXECUTABLE=python3.7 -DBUILD_TESTS=ON -DENABLE_COVERAGE=ON -DBUILD_CPP_DOCS=ON -DBUILD_PYTHON_DOCS=ON ... $ ninja [54/174] Building CXX object producer/api/cpp/CMakeFiles/test-asapo-producer.dir/unittests/test_producer_impl.cpp.o FAILED: producer/api/cpp/CMakeFiles/test-asapo-producer.dir/unittests/test_producer_impl.cpp.o ccache /usr/bin/c++ -I/home/marc-olivier/Documents/desy/dev/gitlab.desy.de/asapo/asapo/producer/api/cpp/include -I/home/marc-olivier/Documents/desy/dev/gitlab.desy.de/asapo/asapo/producer/api/cpp/../c/include -I/home/marc-olivier/Documents/desy/dev/gitlab.desy.de/asapo/asapo/common/cpp/include -g -O0 --coverage -fprofile-arcs -ftest-coverage -Wall -Wextra -pedantic -Wconversion -Wno-missing-field-initializers -fPIC -DGTEST_HAS_PTHREAD=1 -std=gnu++11 -MD -MT producer/api/cpp/CMakeFiles/test-asapo-producer.dir/unittests/test_producer_impl.cpp.o -MF producer/api/cpp/CMakeFiles/test-asapo-producer.dir/unittests/test_producer_impl.cpp.o.d -o producer/api/cpp/CMakeFiles/test-asapo-producer.dir/unittests/test_producer_impl.cpp.o -c /home/marc-olivier/Documents/desy/dev/gitlab.desy.de/asapo/asapo/producer/api/cpp/unittests/test_producer_impl.cpp In file included from /home/marc-olivier/Documents/desy/dev/gitlab.desy.de/asapo/asapo/producer/api/cpp/unittests/test_producer_impl.cpp:15: /home/marc-olivier/Documents/desy/dev/gitlab.desy.de/asapo/asapo/producer/api/cpp/unittests/mocking.h:20:14: error: ‘uint64_t asapo::MockDiscoveryService::UpdateFrequency()’ marked ‘override’, but does not override 20 | uint64_t UpdateFrequency() override { | ^~~~~~~~~~~~~~~ ```
-
Marc-Olivier Andrez authored
As mentioned on https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline and https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206, POSIX defines a line as > A sequence of zero or more non- <newline> characters plus a terminating <newline> > character. When a file does not terminate with an empty line, `Git` commands such as `git diff` show the message `No newline at end of file`. This commit adds a CI job `pre-commit` to enforce the formatting.
-
- May 21, 2024
-
-
Marc-Olivier Andrez authored
CMake was not generating the files `version.h` and `version_lib.go` into the project source directory when building from a subdirectory such as `./build/debug/`. So these files could not be found during compilation.
-
- Dec 01, 2023
-
-
Mikhail Karnevskiy authored
-
- Nov 23, 2022
-
-
George Sedov authored
-
- Sep 09, 2022
-
-
George Sedov authored
-
- Mar 18, 2022
-
-
George Sedov authored
-
- Feb 23, 2022
-
-
George Sedov authored
-
- Feb 17, 2022
-
-
George Sedov authored
-
- Feb 16, 2022
-
-
George Sedov authored
-
- Jan 27, 2022
-
-
Sergey Yakubov authored
-
- Jan 25, 2022
-
-
George Sedov authored
-
- Jan 24, 2022
-
-
Sergey Yakubov authored
-
- Jan 21, 2022
-
-
George Sedov authored
-
- Jan 04, 2022
-
-
Sergey Yakubov authored
-
- Dec 11, 2021
-
-
Sergey Yakubov authored
-
- Dec 06, 2021
-
-
Sergey Yakubov authored
-
Sergey Yakubov authored
-
- Dec 04, 2021
-
-
Sergey Yakubov authored
-
- Dec 03, 2021
-
-
Sergey Yakubov authored
-
George Sedov authored
-
- Nov 09, 2021
-
-
Sergey Yakubov authored
-
Sergey Yakubov authored
-
- Oct 20, 2021
-
-
Sergey Yakubov authored
-
- Sep 28, 2021
-
-
Sergey Yakubov authored
-
- Aug 04, 2021
-
-
Carsten Patzke authored
-
- Jul 16, 2021
-
-
Sergey Yakubov authored
-
- Jul 15, 2021
-
-
Sergey Yakubov authored
-
- Jul 09, 2021
-
-
Sergey Yakubov authored
-
- Jul 08, 2021
-
-
Sergey Yakubov authored
-
- Jul 07, 2021
-
-
Sergey Yakubov authored
-
- Jul 06, 2021
-
-
Sergey Yakubov authored
-
Sergey Yakubov authored
-
Sergey Yakubov authored
-
- Jul 01, 2021
-
-
Sergey Yakubov authored
-
- Jun 30, 2021
-
-
Sergey Yakubov authored
-
Sergey Yakubov authored
-
Sergey Yakubov authored
-