quasive
Of course, this happens only once per connection so there's generally not much of a need for it to be particularly fast.
ALSA is supposed to be able to do this transparently (in software) with dmix, but in my experience that only works with ALSA-aware programs, not those using the OSS API. I don't care that on Linux OSS is deprecated: it should just work.
In short, Linux sound is still obnoxious unless you are lucky enough to have hardware mixing work, or you only use programs which properly deal with ALSA.
The “expression” here refers to an expression in between [] in an array declaration; so the declaration of size 0 is a constraint violation and requires a diagnostic. You can get gcc and clang to issue a relevant diagnostic with “-std=c99 -pedantic”.
This is an area where a compiler can (sometimes) see violations, though, so I think gcc should diagnose when possible, in the same vein as format specifier mismatches in printf().