Opened 5 months ago

Last modified 4 months ago

#68890 new defect

tiledb @2.18.2 fails to build with clangs on Catalina and earlier

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: catalina, mojave, highsierra, sierra, elcapitan, yosemite, mavericks, mountainlion, lion, snowleopard Cc: cooljeanius (Eric Gallager)
Port: tiledb

Description

https://github.com/TileDB-Inc/TileDB/issues/4566

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_tiledb/tiledb/work/TileDB-2.18.2/tiledb/common/random/prng.cc:72:12: error: chosen constructor is explicit in copy-initialization
    return {};  // RVO
           ^~
/opt/local/include/libcxx/v1/random:2110:14: note: explicit constructor declared here
    explicit mersenne_twister_engine(result_type __sd = default_seed)
             ^
. . .
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_tiledb/tiledb/work/TileDB-2.18.2/tiledb/sm/array_schema/array_schema.cc:58:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_tiledb/tiledb/work/TileDB-2.18.2/tiledb/../tiledb/type/apply_with_type.h:43:43: error: 'T' does not refer to a value
concept TileDBFundamental = std::integral<T> || std::floating_point<T>;
                                          ^

It failed with Apple clang on macOS 11, but succeeded with clang-16 on it (according to CI). It builds fine with gcc13, at least on 10.6.

Change History (1)

comment:1 Changed 4 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.