Crazy Leak...plz help

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster

Re: Crazy Leak...plz help

 
0
  #41
Sep 24th, 2007
modify as follows.
# ....
# ....
$(PROGRAM): $(OBJECTS)
    $(LD) -o $(PROGRAM) $(OBJECTS)

$(STRUCTURE_OBJECTS): %.o : %.cpp %.h.gch
    $(CC) $(CFLAGS) -o $@ -c $< 

main.o : main.cpp $(PRECOMPILED) 
    $(CC) $(CFLAGS) -o main.o -c main.cpp

$(PRECOMPILED): %.h.gch : %.h
    $(CC) $(CFLAGS) -o $@ -c $< || echo "not using precompiled headers"
#...
#...
Last edited by vijayan121; Sep 24th, 2007 at 11:57 am.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 202
Reputation: n.aggel is an unknown quantity at this point 
Solved Threads: 11
n.aggel's Avatar
n.aggel n.aggel is offline Offline
Posting Whiz in Training

Re: Crazy Leak...plz help

 
0
  #42
Sep 24th, 2007
thanks fo pointing this out!
Two roads diverged in a wood, and I— I took the one less traveled by, and that has made all the difference.

by Robert Frost the "The Road Not Taken"
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC