I'm trying to build, using msvs 2010 the project found at the following git:
https://github.com/Joonhwan/exprtk
The problem is when I comment out the line 48 '#define exprtk_lean_and_mean' in exprtk.hpp file, I get the following compiler error:
Error 1 error C1128: number of sections exceeded object file format limit : compile with /bigobj
Googling the error, seems to indicate the the compiled translation unit has compiled to something larger than an arbitariy limit, and adding 'bigobj' to the command line should fix the problem (which it does). Compiling the code with gcc (4.3), works without a glitch.
My questions are:
Does c++ place a limit on the number of types that can be had in a translation unit?
Is the way the code is laid out in this project bad practice? (when googling I noticed a lot of boost libraries have the same problem eg: Boost.Sprit)