Fredrik Kihlander

Results 71 comments of Fredrik Kihlander

ubsan and address-sanitizer is running, get memory-sanitizer running as well.

One problem with generating the above helpers is that if the union-member is an array, I really have no type to return since arrays are just anonymous structs right now.

i.e. if you have ``` c++ struct my_union { union { struct { int32_t* data; uint32_t count; } int_array; } value; ????& as_int_array() { type = ...; return value.int_array; }...

However if it could be done it could, in conjunction with a helper `set( uint32_t count, type_ptr* data )` for arrays, shorten some code considerably. take the above struct, where...

Not really as I do not have access to an osx-machine... But I guess there is a filewatch-api there as well?

This is a known issues ( known by me ) and you can work around it in the same way as I have done in the unittests, by adding multiple...

I still need to verify that it builds with the correct compiler-settings on appveyor!

Sorry for the late reply, I'll blame family life ;) I would not say that this is an issue neither with the windows api or fswatcher. The windows API is...

So I did some quick checks and I'm not sure I can get the file-id:s on either windows or linux from the events provided in the callbacks from the OS:es....

Iterating like that only works for fixed size arrays... the above would also work with "dynamic"-size arrays. Also supporting fixed size multidim arrays is really easy and shouldn't be much...