-
FileAwardManager in its constructor takes a `DataProxy_SQLite` pointer from outside. This pointer is then internally deleted.
This causes a segmentation fault. This has to be a double free, right?!
…
-
```
void print_data_result(DataResult* result) {
printf("result->column_num:%d\n",result->column_num);
std::cout
-
Hello,
I got troubles by playing with double pointers.
After ask some questions on the [forum](https://forum.crystal-lang.org/t/questions-about-pointers-and-gc/3218/2) to be sure to use pointers c…
-
This may or may not produce an error as it should.
-
```go
func (k *Kvdb) Names() ([]string, error) {
var namesc C.uint
var namesv **C.char
err := C.hse_kvdb_get_names(k.impl, &namesc, &namesv)
if err != 0 {
return nil, hseErrToErrno(err)
…
-
Translate-c functions often lead to signatures like `args: [*c][*c]u8`. Right now there's only a single level of coercion:
```zig
const single: [*][*c]u8 = args; // this works
const better: …
fengb updated
3 years ago
-
https://godbolt.org/z/a7Ebf5f8M
```c++
void f() noexcept;
decltype(f)** p = nullptr;
decltype(&f)* q = nullptr;
```
```
:2:15: error: exception specifications are not allowed beyond a singl…
-
When compiling with `-Weffc++11`, there appears a new warning. Might be related to #18
``` c++
include/cuda_utils.hpp:98:7: warning: ‘class constHybridVector’ has pointer data members [-Weffc++]
cl…
-
Seems a number of places in the code break on the "new" python 3.9 version when attempting to install.
```
(venv) alexwestfall@GLMJ61G4HL4QL pypredict % sudo python3 setup.py install
Password:
run…
-
On MI300A with `DKokkos_ENABLE_IMPL_HIP_UNIFIED_MEMORY=ON`, it is permitted to do a host allocation (e.g. `calloc`), wrap it in an unmanaged `Kokkos::SharedSpace` view, and run a GPU parallel-for that…