I am trying to build using msvs 2010 a project found in the following git:
https://github.com/Joonhwan/exprtk
The problem is that when I comment on line 48 '#define exprtk_lean_and_mean' in the exprtk.hpp file, I get the following compiler error:
Error 1 error C1128: number of sections exceeded object file format limit : compile with /bigobj
The error when starting the error seems to indicate that the compiled translation unit is compiled into something more than the limit for arbitration, and adding "bigobj" to the command line should fix the problem (which it does). Compiling code with gcc (4.3) works without crashing.
My questions:
Does C ++ limit the number of types that can be written in a translation block?
Is there a way to write code in this bad project practice? (when in googling I noticed that many boost libraries have the same problem, for example: Boost.Sprit)
c ++ standards visual-c ++ compiler-errors
Gelly ristor
source share