Return-Path: william@bourbon.usc.edu Delivery-Date: Tue Oct 28 20:48:24 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m9T3mOXU012638 for ; Tue, 28 Oct 2008 20:48:24 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m9T3xaKV007920 for ; Tue, 28 Oct 2008 20:59:36 -0700 Message-Id: <200810290359.m9T3xaKV007920@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: 551 - final Date: Tue, 28 Oct 2008 20:59:36 -0700 From: Bill Cheng Someone wrote: > Many times I face this weird problem: > > I change something in one of my .h files, and then do a "make". After this > the code starts giving errors. > Then if I do a "make clean" and them "make", things start working as > expected. > > Sometimes this happens even if I change my .cc file. > > Why does this happen? May be the dependencies you have specified in your makefile is incorrect. Or, I've seen some people do everything on Windows and have things sync with nunki. I'm not sure if the file time is set correctly when you do a sync. I've seen some software that will try to change the timestamp on the nunki file to be the same as the timestamp on the Windows file. I guess that may cause problem. -- Bill Cheng // bill.cheng@usc.edu