The METIS interface from Scotch may segfault if passed NULL to indicate a default parameter, so use the older calling style. --- a/SRC/get_perm_c.c 2014-05-16 23:38:30.070835316 -0500 +++ b/SRC/get_perm_c.c 2014-05-16 23:39:04.582836211 -0500 @@ -70,11 +70,13 @@ #else /* Earlier version 3.x.x */ - /* METIS_NodeND(&nm, b_colptr, b_rowind, &numflag, metis_options, - perm, iperm);*/ + METIS_NodeND(&nm, b_colptr, b_rowind, &numflag, metis_options, + perm, iperm); /* Latest version 4.x.x */ +#if 0 METIS_NodeND(&nm, b_colptr, b_rowind, NULL, NULL, perm, iperm); +#endif /*check_perm_dist("metis perm", n, perm);*/ #endif ect name='h' onchange='this.form.submit();'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore/sqlite.hh
AgeCommit message (Expand)Author
2023-09-09daemon: Fix build with GCC 13....The sqlite.hh file uses fixed-width integer types from stdint.h. As such, it needs to include <cstdint>. Without this include, the file doesn't compile successfully with GCC13. See: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes * nix/libstore/sqlite.hh: include <cstdint> Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> Signed-off-by: Ludovic Courtès <ludo@gnu.org> Sören Tempel
2016-10-28daemon: Improve the SQLite wrapper API....In particular, this eliminates a bunch of boilerplate code. Also integrates these Nix commits: 80da7a6 Probably fix SQLITE_BUSY errors 37a337b throwSQLiteError(): Check for SIGINT so we don't loop forever Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra
2016-10-28daemon: Factor out SQLite handling....* nix/libstore/local-store.cc: Move SQLite code to... * nix/libstore/sqlite.cc, nix/libstore/sqlite.hh: ... here. New files. * nix/local.mk (libstore_a_SOURCES): Add sqlite.cc. (libstore_headers): Add sqlite.hh. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra