Skip to content

fix compilation and tests on MacOS

Maxence Naud requested to merge fix_macos-compilation-and-tests into dev

Context

Closes #258 (closed)

Major modification

  1. add: fmt/stl.h include to DynamicAttribute to support the storage of vectors

⚠️ Since Attributes can be of any type, DynamicAttribute includes might increase drastically if we start to include a new file each time a new object formatting is not supported by current includes. As DynamicAttribute is one of the core objects, it is not desirable and could require a refactor of DynamicAttribute formatting

  1. enhance structure: improve DataType by matching every standard type based on some features (nb bytes, is floating point, is signed) instead of a few manually chosen ones
  2. fix: enforce the use of C++-14 in aidge_export_aidge CMakeLists file (previous fix that was not repercuted)
  3. fix: warnings
  • remove unused variable warning in 'Leaky.cpp'
  • comment unused function 'getDataType()' not labeled 'override' in 'Operator.hpp' and 'OperatorTensor.hpp'
  • remove unused reference to this in lambda functions
  1. temporary fix for a test that should completly be redesigned and optimize 'RandomGraph::gen()' function
Edited by Maxence Naud

Merge request reports

Loading