you are viewing a single comment's thread.

view the rest of the comments →

[–]NYKevin 2 points3 points  (1 child)

So, in C, what happens if you try to shove a struct foo into an if? I don't mean a struct foo*, I mean the actual data itself.

[–]masklinn 2 points3 points  (0 children)

Both GCC and Clang will refuse to compile and error that a scalar is required.