Ignore:
Timestamp:
2001-05-24T17:06:48+12:00 (23 years ago)
Author:
sjboddie
Message:

Fiddled about with mgpp to get it compiling on Windows under VC++ 6.0. I
still can't get it to compile under VC++ 4.2 because of some weird
behaviour in STLport.

Also tidied up a little and removed some of the old log information
that was scattered about in some of the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/lib/huffman.cpp

    r855 r2468  
    1818 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    1919 *
    20  * $Id$
    21  *
    2220 **************************************************************************/
    23 
    24 /*
    25    $Log$
    26    Revision 1.1  2000/01/14 02:17:06  sjboddie
    27    Rodgers new C++ mg
    28 
    29    Revision 1.2  1999/10/17 23:39:13  cs025
    30    Changes to eradicate Xmalloc etc
    31 
    32    Revision 1.1  1999/10/11 02:55:09  cs025
    33    Base install of MG-PP
    34 
    35    Revision 1.1  1999/08/10 21:16:51  sjboddie
    36    renamed mg-1.3d directory mg
    37 
    38    Revision 1.1  1998/11/17 09:32:03  rjmcnab
    39    *** empty log message ***
    40 
    41    * Revision 1.1  1994/08/22  00:24:44  tes
    42    * Initial placement under CVS.
    43    *
    44  */
    45 
    46 static char *RCSID = "$Id$";
    4721
    4822#include "sysfuncs.h"
     
    6741    goto error0;
    6842    }
    69   if (!(heap = new (unsigned long)[num * 2]))
     43  if (!(heap = new unsigned long[num * 2]))
    7044    goto error1;
    7145  if (!(hd->clens = new char[num]))
     
    250224  if (!(vals = new unsigned long[data->num_codes]))
    251225    return (NULL);
    252   if (!(values = new (unsigned long *)[MAX_HUFFCODE_LEN + 1]))
     226  if (!(values = new unsigned long *[MAX_HUFFCODE_LEN + 1]))
    253227    {
    254228      delete vals;
Note: See TracChangeset for help on using the changeset viewer.