Geode-solutions / OpenGeode

Open source framework for representing and manipulating geometric models
https://geode-solutions.com/opengeode
MIT License
153 stars 13 forks source link

Missing include in types.h #843

Closed yo35 closed 1 year ago

yo35 commented 1 year ago

Hi,

An error is raised when geode/basic/types.h is included in a .cpp file:

In file included from /home/yoann/DevPro/Total_Flowers/REMMapping/include/remmapping/surface_tools.h:3,
                 from /home/yoann/DevPro/Total_Flowers/REMMapping/src/remmapping/surface_tools.cpp:1:
/opt/yoann/DevPro/Total_Flowers/install-dirs/geode/include/geode/basic/types.h:57:20: error: ‘array’ in namespace ‘std’ does not name a template type
   57 |     constexpr std::array< T, sizeof...( Args ) > to_array( Args&&... args )
      |                    ^~~~~
/opt/yoann/DevPro/Total_Flowers/install-dirs/geode/include/geode/basic/types.h:31:1: note: ‘std::array’ is defined in header ‘<array>’; did you forget to ‘#include <array>’?
   30 | #include <absl/strings/string_view.h>
  +++ |+#include <array>
   31 | 

The compiler is GCC 11.4, the OpenGeode version is 14.8.0.

BotellaA commented 1 year ago

Do not hesitate to contribute with PR.This will be fixed by #844

yo35 commented 1 year ago

Thanks @BotellaA

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 14.9.0-rc.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 14.9.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: