Menu

Dependancies broken?

2002-10-04
2012-09-26
  • Nobody/Anonymous

    I hate to bring up something that is probably either my fault or the fault of my installation, rather than a bug with DevC++, but the following seems to happen:

    When I change a header file involved in a project, clicking Compile or Compile And Run doesn't seem to recompile C++ files dependant on that header. I've tried adding the header files as members of the project itself, but nothing seems to change this. It's very irritating, and I keep having to press Recompile All when I change a header file, so does anyone know why this is happening?

    I'm using mingw 2, and DevC++ 9.6.0. This seems like such an essential feature for an IDE to have it must be something I'm doing wrong. Can anyone help me?

     
    • Nobody/Anonymous

      Er, make that DevC++ 4.9.6.0 - sorry!

       
    • Nobody/Anonymous

      Hi,
      No its not your fault, it is a bug in Dev-C++.

      There is an option (check among the tabs of the "compiler option") to generate "fast dependencies", II think the authors wanted to make it work this way:
      - when the box is checked, files are not recompiled if headers are changed
      - when the box is unchecked (so "full" dependency is being generated), recompilation should be triggered by editing headers.

      Right now, the "full" dependency generation is not working and, IMHO, its a problem of the algorithm generating makefile.win.

      I did send a bug report to Mr. Laplace a few days ago, describing this problem, but received no answer.

      --
      gisan

       

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.