open-io / oio-sds

High Performance Software-Defined Object Storage for Big Data and AI, that supports Amazon S3 and Openstack Swift
https://www.openio.io
Other
664 stars 93 forks source link

[bug][build][gcc-9.3.0] trampolines #2087

Open Li-Gru opened 4 years ago

Li-Gru commented 4 years ago
/oio-sds/core/ext.c: In function '_free_majmin_idle_list':
/oio-sds/core/ext.c:506:7: error: trampoline generated for nested function '_clean_idle' [-Werror=trampolines]
  506 |  void _clean_idle (struct maj_min_idle_s *p) {
      |       ^~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [core/CMakeFiles/oiocore.dir/build.make:151: core/CMakeFiles/oiocore.dir/ext.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:670: core/CMakeFiles/oiocore.dir/all] Error 2
make: *** [Makefile:161: all] Error 2

gcc version 9.3.0