I was messing with the C comma operator and ran into an old trivial bug in #GCC diagnostics. Interesting that the error remains from at least GCC 4.7 but morphed a bit in GCC 9.1.
int a=0, b=5, c=7;
return a, b, c; //says a and c are unused
#cpp #bug #FOSS