[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug when examining make file
From: |
Paul D. Smith |
Subject: |
Re: bug when examining make file |
Date: |
Sat, 20 Apr 2002 14:03:07 -0400 |
Hm. I think this assert() is bogus. Probably it was there because we
couldn't think of a way it could happen, but you did. Try this patch:
--- main.c-dist Tue Jun 13 10:24:45 2000
+++ main.c Sat Apr 20 13:57:21 2002
@@ -1672,12 +1672,12 @@
switch (update_goal_chain (read_makefiles, 1))
{
- case 1:
default:
#define BOGUS_UPDATE_STATUS 0
assert (BOGUS_UPDATE_STATUS);
break;
+ case 1:
case -1:
/* Did nothing. */
break;
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist