Compound literals support


It seems that ReSharper C++ does not support C99 Compound Literals:

To my understanding, line 230 is standard C99 and should work right ? I am compiling with GCC and it works.

Line 231 also works, but I'm not sure whether it's standard C99 or a GCC extension.



1 comment
Comment actions Permalink

Hello Julien,

That's right, R++ does not support compound literals yet. You can follow to get notified when support for them is implemented.

You can use designated initializers in C code though.

Thanks for the report!


Please sign in to leave a comment.