CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2003
    Location
    Austin TX
    Posts
    7

    Question c1055 : Compiler Limit : Out Of keys

    I am facing this error while compiling my Project....
    Please let me know the possible solution for the same

    TIA
    Gaurav

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    I don't know what compiler your using but I'll take a stab with this:

    Fatal Error C1055
    compiler limit : out of keys

    The file being compiled contained too many symbols. The compiler sets up a symbol table and uses hash keys to look up symbols in the table. This error indicates that the compiler has reached its limit for these keys.

    Tips

    Try to split the file into smaller files, and recompile.


    Only include header files that are absolutely necessary.


    Where possible, reuse temporary and global variables so that fewer symbols are generated, and thus, fewer keys are needed.

  3. #3
    Join Date
    Jan 2003
    Location
    Austin TX
    Posts
    7
    Thanks for ur reply...
    But I was able to find this details in MSDN.....The problem with my prooject is that there are lot many files and when I am compiling after compiling a few of those the Compiler shoots this error...

    Number of variables used in the Whole project must be a lot..
    But I dont think for one file they are lot.....

    while compiling does it take in view the variables of the current file or of the whole project....

    and including 5-6 header files in .h i donot think is too much...

    I am just not getting a clue what to do .....

  4. #4
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    Well you got me there. I'm pretty anal about breaking large projects into smaller sub-DLL projects. So I tend to stay away from encountering things of this nature. But, I would suggest breaking up the file where the error occurs as it states in the 'workarounds' (btw it is on MSDN (c1055 but I got there thru google) and I orignally looked it up in the MSDN help local on my system C1055. But anywho.

    Are you sure the headers you are including are not including other headers who are including other headers who are including other headers who are....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured