Nunavut universal character name error

I am currently working with the auto generated headers using Nunavut on Windows. It generates code with the following assert:

static_assert( NUNAVUT_SUPPORT_LANGUAGE_OPTION_TARGET_ENDIANNESS == 434322821,
              "C:\Users\xxx\xxx\xxx\xxx\Position.1.0.uavcan is trying to use a serialization library that was compiled with "
              "different language options. This is dangerous and therefore not allowed." );

This raises the error:

error: incomplete universal character name \U

This is because of the C:\Users part in the assert error message. Is there any way to solve this in Nunavut so that I dont have to manually remove these parts?

1 Like

This is a known issue on Windows:

I think it should be trivial to fix, just replace a few calls to pathlib around the codebase. Can you look into it?