On 10/02/2022 5:21 AM, Paul Backus wrote:
- C (gcc/clang): __attribute__((warn_unused_result))
C23 will also have [[nodiscard]] Not only will it have that on functions, but also support a string too.Unfortunately its looking like we have chosen to diverge from C, and therefore won't be completely C compatible soon.
Will be exciting as to what kind of bugs crop up because of this!