Closed nim65s closed 1 year ago
I'm using Kubuntu 22.04 & gcc 11.3 and haven't see this error. What platform and compiler version are you using?
This is g++ (GCC) 13.1.1 20230429
on x86_64
OK, that's a lot newer gcc than I'm using so I'd guess that they've changed the standard library includes to be a little more focused. I think the solution will be to modify the core VSG rather vsgXchange. Perhaps just change to int16_t rather than std::int16_t etc. would be line of least resistance,
This single added line is enough in my case to build VSG v1.0.6 and vsgXchange v1.0.3.
But yes, if you prefer to fix the root of the issue instead of just a symptom, that's totally fine for me :)
Sorry for the slow return around, now back at my dev system. I 've tweaked the core VSG to address this issue, removing the unneccessary std:: prefix:
https://github.com/vsg-dev/VulkanSceneGraph/commit/b3c2939141affcae2929c2b7821925214781d6fd
Could you try this change out on your system?
@nim65s I'm going to close this PR as I think the changes I made to the core VSG should me it unnecessary. Please let me know if the problem persists.
@robertosfield : I can confirm that this issue is fixed for me by removing the std
namespace in vsg, and this PR can be closed :)
Thanks !
Hi,
Trying to compile this on Archlinux, I get the following issues:
I guess it's because
std::int8_t
is declared incstdint
: https://en.cppreference.com/w/cpp/types/integer