Martin Weber
Martin Weber
I am seeing an even higher load of 74% on the Copy queue. This is with an AMD RX 6700 XT, 16 GB on a dual monitor setup (4K and...
@robertosfield > Looking online perhaps the following might be another alternative: https://kahncode.com/2019/09/24/c-tricks-fast-rtti-and-dynamic-cast/ This looks very verbose. Unfortunately, it seems to suffer from the same issue of not working across module...
I created a minimal example to reproduce the issue on my fork of vsgExamples: https://github.com/martinweber/vsgExamples/commit/a14372551b775690720349f4768d0c1bfa8a47a6 Just returning a `vsg::MatrixTransform::create()` from the dynamic library function did not show the issue. Once...
Unfortunately I do not have a recent Linux installation ready to use. Our target is ancient CentOS 7 with gcc. Looking at the [clang meta package on 22.04LTS](https://packages.ubuntu.com/jammy/clang) I would...
I have implemented a first prototype that generates type hashes at compile time, using a simple [FNV-1a](https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function) hash. I got the hashing code from [here](https://github.com/elanthis/constexpr-hash-demo/blob/c59e42f4270c493494d504a0840425cd4d01e346/test.cpp). The FNV-1a hash is very...
> clang++15 installs but I get the same /bin/ld: cannot find -lstdc++: No such file or director issue when running cmake. I just noticed that it has `stdc++` as a...
A quick follow up. I have replaced a couple of `vsg::Object::cast` calls that did not work with `dynamic_cast`. Now I get several of these runtime warnings: ``` dynamic_cast error 2:...
Unfortunately I also was busy with other work. I now found some time to do more testing. The issue is indeed caused by `type_info` being defined in more than one...
Using VSG as dynamic library in all modules works in the reproduction example. Statically linking VSG to multiple modules (my own dynamic libraries) results in errors with `type_info.hash_code()`. So I...
Yeah, in hindsight it seems obvious 😉 The issue is very specific to Clang/libc++ though. GCC and MSVC worked fine.