Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7953723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:13:34+00:00 2026-06-04T03:13:34+00:00

I’m trying to build, using msvs 2010 the project found at the following git:

  • 0

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:

  1. Does c++ place a limit on the number of types that can be had in a translation unit?

  2. 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)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:13:35+00:00Added an answer on June 4, 2026 at 3:13 am

    Does c++ place a limit on the number of types that can be had in a translation unit?

    Note that the maximum values of such parameters are left open for particular implementations. The standard only enforces minimum requirements that must be supported by an implementation. An implementation will document the maximum values it supports and in this case MSVC implementation does so.

    These are defined in a special section of the C++ standard.

    Annex B – Implementation quantities

    1. Because computers are finite, C + + implementations are inevitably limited
      in the size of the programs they can
      successfully process. Every
      implementation shall document those
      limitations where known.
      This
      documentation may cite fixed limits
      where they exist, say how to compute
      variable limits as a function of
      available resources, or say that fixed
      limits do not exist or are unknown.

    2. The limits may constrain quantities that include those described below or
      others. The bracketed number following
      each quantity is recommended as the
      minimum for that quantity.
      However,
      these quantities are only guidelines
      and do not determine compliance.
      —
      Nesting levels of compound statements,
      iteration control structures, and
      selection control structures [256].
      —
      Nesting levels of conditional
      inclusion [256].
      — Pointer, array, and
      function declarators (in any
      combination) modifying an arithmetic,
      structure, union, or incomplete type
      in a declaration [256].
      — Nesting
      levels of parenthesized expressions
      within a full expression [256].
      —
      Number of characters in an internal
      identifier or macro name [1 024].
      —
      Number of characters in an external
      identifier [1 024].
      — External
      identifiers in one translation unit
      [65 536].
      — Identifiers with block
      scope declared in one block [1 024].
      —
      Macro identifiers simultaneously
      defined in one translation unit [65
      536].
      — Parameters in one function
      definition [256].
      — Arguments in one
      function call [256].**
      — Parameters in
      one macro definition [256].
      —
      Arguments in one macro invocation
      [256].
      — Characters in one logical
      source line [65 536].
      — Characters in
      a character string literal or wide
      string literal (after concatenation)
      [65 536].
      — Size of an object [262
      144]
      .
      — Nesting levels for #include
      files [256].
      — Case labels for a
      switch statement (excluding those for
      any nested switch statements) [16
      384].
      — Data members in a single
      class, structure, or union [16 384].
      —
      Enumeration constants in a single
      enumeration [4 096].
      — Levels of
      nested class, structure, or union
      definitions in a single
      struct-declaration-list [256].
      —
      Functions registered by atexit()[32].

      — Direct and indirect base classes [16
      384].
      — Direct base classes for a
      single class [1024].
      — Members
      declared in a single class [4 096].
      —
      Final overriding virtual functions in
      a class, accessible or not [16 384].
      —
      Direct and indirect virtual bases of a
      class [1 024].
      — Static members of a
      class [1 024].
      — Friend declarations
      in a class [4 096].
      — Access control
      declarations in a class [4 096].
      —
      Member initializers in a constructor
      definition [6 144].
      — Scope
      qualifications of one identifier
      [256].
      — Nested external
      specifications [1 024].
      — Template
      arguments in a template declaration [1
      024].
      — Recursively nested template
      instantiations [17].
      — Handlers per
      try block [256].
      — Throw
      specifications on a single function
      declaration [256].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.