Menu

#315 Unnecessary header parsing

open
nobody
None
5
2012-09-26
2004-05-11
No

If you switch the code completion cache off or on all
the header files are parsed again twice. This should
only happen once.

Discussion

  • Colin Laplace

    Colin Laplace - 2004-05-19

    Logged In: YES
    user_id=25510

    hmm I couldn't reproduce the problem here. The project is
    scanned only one time. Maybe you could give more precision
    that i can try again ?

    Colin

     
  • Oliver Stöneberg

    Logged In: YES
    user_id=591019

    Well, I just tried it with the actual CVS exe (1.136) and it
    still happens. Well...in easy steps to reproduce it:

    • open Dev-C++
    • open aproject where the header files are being parsed at load
    • go to "Editor Options" -> "Class browsing" -> "Completion"
      and check or un-check the "Use code-completion" checkbox
    • the header files are being parsed again twice
     
  • Colin Laplace

    Colin Laplace - 2004-05-24

    Logged In: YES
    user_id=25510

    well they are not parsed two times here, could you please
    send me just your project file and devcpp.ini that i can try
    again with your configuration ?

    Colin

     
  • Oliver Stöneberg

    Logged In: YES
    user_id=591019

    OK, I tried it again with the CVS exe 1.138 and it still
    happens. I attached a sample with some files, that are being
    parsed when the project is being loaded. I used the STLPort
    include files, so it's not that small, sorry. But you need
    an amount of files to see, that they are being parsed (if
    you aren't in a debugger ;)

    The devcpp.ini file is also in there.

    I also saw something strange with the "code-completion
    cache" checkbox was disabled, when the code-completion was
    disabled and then being enabled again.

     
  • Oliver Stöneberg

    Logged In: YES
    user_id=591019

    Damn...the file was too big for sf.net. I put it up on

    http://www.breaken.de/temp/test.zip

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.