Changeset 6189


Ignore:
Timestamp:
2003-12-10T13:16:58+13:00 (20 years ago)
Author:
jrm21
Message:

fixes so it compiles with gcc 3 as well as gcc 2.9x

Location:
trunk/gsdl/packages/isis-gdl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/isis-gdl/CRC32.cpp

    r6127 r6189  
    9898
    9999 while(!infile.eof()) {
    100    infile.get(c);
     100   c=infile.get();
    101101   i = (unsigned int)c;
    102102   i &= 0xFF; // Reset all the bits
  • trunk/gsdl/packages/isis-gdl/IsisTypes.h

    r6127 r6189  
    4848typedef short           int16_t;   // short word (2 bytes)
    4949typedef unsigned short  uint16_t;  // Unsigned short word (2 bytes)
     50#ifndef __USE_ISOC99 // gnu lic math.h has a double_t
    5051typedef double          double_t;  // Double precision floating point (8 bytes)
     52#endif
    5153
    5254
  • trunk/gsdl/packages/isis-gdl/Master.cpp

    r6127 r6189  
    146146    if (!s.good()) return s;
    147147
    148     ios::iostate err = 0;
     148    ios::iostate err = ios::goodbit;
    149149    try
    150150    {
Note: See TracChangeset for help on using the changeset viewer.