Bug #18661 2012-07-10 19:06
taiki
C::B Project in the root of a partition
I work on a encrypted Truecypt partition which only contain my project so it was directly in the root.
This situation create strange bugs like:
- modify header don't recompile files that use it
- even if nothing changed, compile the project will relink it
I can easily reproduce the bug even with a default console project without any change.
I'm sorry for my bad english, I hope that this bug isn't already submited.
Ask for details if you need any.
- Category
- Compiler
- Group
- Platform:Windows
- Status
- Open
- Close date
- Assigned to
History
Forgot configuration details:
Windows 7 ultimate 64bit
C::B 10.05 compiled May 27 2010
Truecrypt 7.1
Reproductible with the build 8150
I suggest that you can supply a minimal sample project, so that we can test it. Thanks.
Here is a TrueCrypt partition: https://dl.dropbox.com/u/12087072/code%20blocks%20bug
Password: CodeBlock
Mount it then try to compile the project. Compile it again, it'll re-link it
Now, try to modify main.h, main.c won't be recompiled.
Can you reproduce the bug?
New link for the True crypt partition: http://www.mediafire.com/?tngj5dtcfcljkwc
For the record:
- When I hit compile it always gets re-linked
- When I change main.c it becomes re-compiled (!) and then re-linked
- When I change main.h it becomes just re-linked.
What exactly do you complain on this? (Just to make sure I understand the issue.)
Issues are:
- relink when not needed (may be long on big project)
- edit main.h won't update defines (the example code printf the define. If you change it, the main.c won't be updated so it'll keep the old value)
Recompile when main.c is updated isn't a problem (in my point of view).
OK - understood and its reproducible. For now, it doesn't not happen if you just create a sub-folder. Do this as a work-around, if possible.,
I'm afraid the reason is a third party component we use (depslib)... maybe not so easy to fix and actually should be done by the vendor.
Okay, have I to report the bug to the vendor? If yes, can I have details on what to report? (which API)
I tried to contact the vendor myself, but found out that the library is several years old and the vendor is no more. :-(
It used from another OpenSource project called "JAM".
You can try to find out yourself - its the depslib in the compiler plugin directory. It ships with a "main" (not compiled into the plugin) which can be used to make a stand-alone version for testing.