BSCMAKE Warning BK4504

Lakshmanakumar Sankar 20 Reputation points
2024-09-04T12:20:46.0833333+00:00

The warning BK4504 is for excessive symbol references in a file ( > 64000).
I have 2 queries regarding that.

  1. What is meant by symbol reference?
  2. On what basis the limit is set to 64000?

Kindly help me understand it.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,690 questions
0 comments No comments
{count} votes

Accepted answer
  1. Darran Rowe 916 Reputation points
    2024-09-04T21:06:23.1666667+00:00

    The difficulty here is that the documentation for BSCMAKE states that it hasn't been used by the VS IDE for a while. VS2005 was the last version that seems to use it. If the project that is showing this warning is VS2008 or newer then try setting:

    Screenshot 2024-09-04 215003

    to no. If there are no side effects, then just leave it like this.

    But to answer the direct question, symbols should be the standard C/C++ definition of variables and functions. Symbol references would be references (memory addresses) of variables in the file that the browser file corresponds to. As to why it is set to 64,000, my bets is that back in the early 1990s, that was a massive amount of references. Since .bsc files were replaced with SQL databases, then the format was likely never updated.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.