I get a build fail with quadriflow. The const member variable NetworkSimplex::MAX conflicts with the MAX macro.
Renaming NetworkSimplex::MAX to NetworkSimplex::_MAX seems to be a workable fix.
[ 21%] Building C object source/blender/editors/space_action/CMakeFiles/bf_editor_space_action.dir/action_select.c.o
In file included from <SRCDIR>/extern/quadriflow/src/optimizer.cpp:13:
In file included from <SRCDIR>/extern/quadriflow/src/flow.hpp:16:
<SRCDIR>/extern/quadriflow/3rd/lemon-1.3.1/lemon/network_simplex.h:652:44: error: too few arguments provided to function-like macro invocation
MAX(std::numeric_limits<Value>::max()),
^
/usr/include/sys/param.h:306:9: note: macro 'MAX' defined here
#define MAX(a,b) (((a)>(b))?(a):(b))
^
In file included from <SRCDIR>/extern/quadriflow/src/optimizer.cpp:13:
In file included from <SRCDIR>/extern/quadriflow/src/flow.hpp:16:
<SRCDIR>/extern/quadriflow/3rd/lemon-1.3.1/lemon/network_simplex.h:652:45: error: expected '(' or '{'
MAX(std::numeric_limits<Value>::max()),
^