DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
712 stars 250 forks source link

Set default C/C++ standards in configure script #2332

Closed eldering closed 6 months ago

eldering commented 6 months ago

Also move some maintainer specific compile flags to the default set in the configure script. These flags were meant to enforce following the standards pedantically and therefore only used in maintainer mode, but it doesn't hurt to always apply them as the code is meant to be free of warnings/errors caused by these flags.

Also remove the specific -std=c99 flag for runguard, since the default c11 supersedes it. See the original commit d76a618bca98f08ffe26754 that added it.