rebuild

Considering modified files for rebuild

I have a C++ project, I am using Bakefile for build process, Makefiles are generated for msvc, mingw, gnu etc for cross-platform support. Now the problem is that if I change any .h files (which are included in other .cpp files) and performing a rebuild does not recompile modified files. But changing any .cpp file gets recompiled. Based...

Do Precompiled headers help with rebuilds?

I read some of the questions about precompiled headers but couldn't find a direct answer to that. I usually rebuild my entire Visual Studio 2010 solution. One of the projects in my solution is a C++/CLI project. I thought that using precompiled headers in that project will increase the speed of the compilation. After some experiments...

Recover an SVN repository with multiple missing revs/ files

I'm trying to recover an SVN repository after a hard drive failure. Unfortunately, the backup will not help as it was out of date. From 7,797 revisions, we lost only the following seven (7) files from the .../repo_dir/db/revs/7/ directory: 7437 (7-9 Dec 2009) (file also missing from revprops/ dir) 7461 (16 Dec 2009) 7519, 7520, 7521 ...

Automatically rebuild referenced Class Libraries (DLLs) in VS2010?

I have an executable project A, which references to a Class Library project B. However, when I build A, it does not automatically rebuild B. The only way to get B rebuilt and used by A is to rebuild B then build A. Is there a way I can get B to be rebuilt automatically and then used by A when I build A? ...

best practices when rebuilding gcc after patches

Hi, here's the scenario: freshly built latest (native) gcc from a stable release tarball (4.5.1 for the sake of completeness, but that shouldn't really matter) with the full suggested 3-stage bootstrap sequence. Also installed it as the host compiler and configured the system configured to use its runtime libraries. Now, say I see a co...

Rebuild all failed without any error - Visual Studio

I work in Visual Studio 2008 and I got this issue couple of times. i.e. when I rebuild the solution, status shown at the status bar will be "Rebuild all failed". But when I check in the error window there are no errors. Has any one seen this issue? Is it a bug of VS 2K8 or am I doing something wrong? ...

SQL Server 2005 Index rebuild when increasing the size of a varchar field

I have a 12 varchar(50) fields in a table of about 90 million rows that I need to increase to varchar(100) in length. Each of these fields has an index (with only the one field as a member). If I increase the length of the varchar fields, will the indexes either need to be rebuilt (or would be rebuilt automatically), or would the stati...

Java StackOverflowError while recursively building an array from a binary search tree.

I'm trying to balance a BST by first building an array (inorder) and then rebuild the entire tree from my array. I have: public void toArray(E[] a) { toArray(root, a, 0); } /* * Adds all elements from the tree rooted at n in inorder to the array a * starting at a[index]. * Returns the index of the last inserted element + 1 ...