Hi,
On Thu, Jun 14, 2012 at 6:05 AM, Jim Bosch <talljimbo@xxxxxxxxx> wrote:
I'm a little surprised the configure-time solution that was brought up early
in this thread was dismissed so quickly. Sure, it's nice to be able to use
Eigen's headers as-is with no build at all today, but a machine-generated
header file that contains these values as true constants wouldn't be such a
terrible thing to add.
as I said, this is not an option because these values depend on the
underlying hardware. So such an approach makes impossible to
distribute configured version of Eigen nor binary that uses Eigen.
I'd certainly personally much prefer to have to run a script to generate a
header when I install Eigen over having to call a function every time I use
Eigen!
Note that this function will have to be called only in the case the
user code is multi-threaded.