ghalliday/HPCC-Platform — comment on commit d056450f91550587c014764e798999aee8fb826b
File: roxie/roxiemem/roxiemem.cpp line 555
By ghalliday:

I wanted to make sure that dataAreaSize() is constant folded - it doesn't appear to be in windows, I suspect it is in gcc.

Using the macro works within the class, but it doesn't from outside the class because it involves access to a private member. I tried all sorts of things, and couldn't get a good solution. I could swap to just using the function - and check that gcc really does handle it correctly.