intel / yarpgen

Yet Another Random Program Generator
Other
484 stars 53 forks source link

Fix compilation error with gcc-14. #200

Closed chestnykh closed 3 months ago

chestnykh commented 3 months ago

With -Werror gcc-14.1.1 (with libstdc++-14) emits an error: error: ignoring return value of _FIter std::remove_if(_FIter, _FIter, _Predicate) ... ... declared with attribute nodiscard [-Werror=unused-result]. Use cast to void to avoid it.