Bug #10533 2007-03-01 21:12

maxgaspa

Deps not working

Using the nightly buind 3627 on Windows XP SP2 I am observing a lack of recompilation triggering when I change a file.

Hereafter how I observe the bug.

In the project dir I have a file GenLib.h. In the project dir I have directory called windows in which I have a .c file including the header as

#include "GenLib.h"

The depend file says

1172266375 source:c:\c\projects\genlib\windows\tablelistview.c

<windows.h>

<winuser.h>

<commctrl.h>

<process.h>

<stdlib.h>

<ctype.h>

"GenLib.h"

I have set the two flags (compiler search dirs)in the compiler option to add the currently compiling file's directory and to add the projects's top level directory.

The compilation is fine. Then I change something in GenLib.h and save it. Clicking on Build no compilation starts.

If I change the .c file including the header as

#include "..\GenLib.h"

after clicking on "Build" the .depend file says (incorrectly)

1172267946 source:c:\c\projects\genlib\windows\tablelistview.c

<windows.h>

<winuser.h>

<commctrl.h>

<process.h>

<stdlib.h>

<ctype.h>

"GenLib.h"

and changing the header no compilation is triggered

If I delete the .depend file and after a rebuild I get

1172268021 source:c:\c\projects\genlib\windows\tablelistview.c

<windows.h>

<winuser.h>

<commctrl.h>

<process.h>

<stdlib.h>

<ctype.h>

"..\GenLib.h"

and now a modification in the header will trigger a compilation.

Is this behavior correct? Can you confirm

Category
Compiler
Group
 
Status
Closed
Close date
2007-03-28 08:36
Assigned to
 
mandrav 2007-03-19 14:40

Rev. 3729 possibly contains the fix. Please test and report back. If you still face the same problem, please create a minimal test case and upload in a new topic in the forums..

maxgaspa 2007-03-20 21:25

Using the same project used to flag the bug I am no longer able to observe the bug. It seems fixed.

mandrav 2007-03-28 08:36

Thank you for reporting this.