Compound literals support

Hi,

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.

 

 

0
1 comment
Avatar
Permanently deleted user

Hello Julien,

That's right, R++ does not support compound literals yet. You can follow https://youtrack.jetbrains.com/issue/RSCPP-16063 to get notified when support for them is implemented.

You can use designated initializers in C code though.

Thanks for the report!

0

Please sign in to leave a comment.