On Tue, Sep 6, 2016 at 9:13 PM, Brad King <brad.k...@kitware.com> wrote:

> On 09/06/2016 02:39 PM, Cristian Adam wrote:
> > Who should have noticed that the two object files were empty and try a
> > new compilation? CMake or make?
>
> Nothing.  This is not a failure case that we expect to be handled.
> The .o files exist with a timestamp newer than their dependencies,
> so the build system thinks they are up to date.  The fact that the
> wrong content was written to them due to a system failure is not
> something we can know or tolerate.
>
> -Brad
>
>
I see. Due to object headers one should not be able to produce an
empty object file with a compiler.

Brad, thank you for the help. Now I know how to analyze archive files \m/

Cheers,
Cristian.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to