Patch for jade and gcc 2.8/egcs

Subject: Patch for jade and gcc 2.8/egcs
From: James Clark <jjc@xxxxxxxxxx>
Date: Thu, 10 Sep 1998 19:18:43 +0700
The following patch (due to Matthias Clasen) looks like it may solve
the problem with jade not working when compiled with gcc 2.8/egcs.

James

*** C:/home/work/jade2/style/rdif00CF.aaa Thu Sep 10 19:12:50 1998
--- C:/home/work/jade2/style/Expression.cxx Thu Sep 10 19:10:54 1998
***************
*** 1136,1142 ****
    }
    // FIXME optimize case where ics.size() == 0
    boundVars.removeUnused();
!   Vector<const Identifier *> noVars;
    Environment newEnv(noVars, boundVars);
    size_t j = 0;
    for (size_t i = 0; i < keys_.size(); i++) {
--- 1136,1142 ----
    }
    // FIXME optimize case where ics.size() == 0
    boundVars.removeUnused();
!   BoundVarList noVars;
    Environment newEnv(noVars, boundVars);
    size_t j = 0;
    for (size_t i = 0; i < keys_.size(); i++) {
***************
*** 1331,1337 ****
    if (!gotOne)
      return next;
    boundVars.removeUnused();
!   Vector<const Identifier *> noVars;
    Environment newEnv(noVars, boundVars);
    InsnPtr code;
    for (size_t i = 0; i < keys_.size(); i++)
--- 1331,1337 ----
    if (!gotOne)
      return next;
    boundVars.removeUnused();
!   BoundVarList noVars;
    Environment newEnv(noVars, boundVars);
    InsnPtr code;
    for (size_t i = 0; i < keys_.size(); i++)


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Patch for jade and gcc 2.8/egcs
    • James Clark - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA06972Thu, 10 Sep 1998 08:33:42 -0400 (EDT) <=
      • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA25807Thu, 24 Sep 1998 08:50:31 -0400 (EDT)
        • Steve Tinney - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id AAA08477Sun, 27 Sep 1998 00:42:06 -0400 (EDT)
          • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA28971Mon, 28 Sep 1998 06:13:43 -0400 (EDT)
        • John Fieber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA11220Tue, 29 Sep 1998 12:23:11 -0400 (EDT)