------- Comment #3 from jd at cococo dot de 2010-06-30 10:32 ------- You are right - it was a matter of bracketing. After having changed the macro to #define max(a,b) (a>b?a:b) it works fine on MingW and Linux.
The problem lies in an incompatibility between to Delphi 2010. Delphi processed it according to my intention and gcc interprets it differently. Thanks, Jens -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44681