2 ms·gcc has __attribute__((warn_unused_result)) which is similar to #[must_use].by steveklabnik 9y agogcc has __attribute__((warn_unused_result)) which is similar to #[must_use].