Opened 20 years ago

Closed 13 years ago

Last modified 13 years ago

#575 closed defect (wontfix)

Compile error on IRIX

Reported by: paul-grass@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by hobu)

In directory frmts/fit:

CC   -I../../port -I../../gcore -I../../ogr   -c -o fitdataset.o fitdataset.cpp
"gstEndian.h", line 50: error(3114): identifier "namespace" is undefined
  namespace gstEndian {
  ^

"gstEndian.h", line 50: error(3158): expected a ";"
  namespace gstEndian {
                      ^

"../../gcore/gdal_priv.h", line 179: warning(3109): parsing restarts here
          after previous syntax error
  class GDALMajorObject;
                       ^

"fitdataset.cpp", line 119: error(3114): identifier "using" is undefined
  using namespace gstEndian;
  ^

"fitdataset.cpp", line 119: error(3158): expected a ";"
  using namespace gstEndian;
                  ^
                  ^

"fitdataset.cpp", line 337: warning(3666): variable "p" was set but never used
      char *p;
            ^

4 errors detected in the compilation of "fitdataset.cpp".
make: *** [fitdataset.o] Error 1

Change History (4)

comment:1 by warmerdam, 20 years ago

Paul, 

I'm finally looking at this.  Did you ever resolve this?  While I didn't write
this code, it looks ok to me.  I really don't know what to change to "fix" it. 


comment:2 by hobu, 17 years ago

Description: modified (diff)

Rumor has it that Martin Spott on #telascience has gotten a current (circa March 2007) working with Irix.

comment:3 by Even Rouault, 13 years ago

Resolution: wontfix
Status: assignedclosed

comment:4 by pkelly, 13 years ago

Oops - even though I reported this, it seems I never noticed the two most recent comments 4 and 7 years ago respectively :) The IRIX machines I used to test this on were scrapped a few years ago anyway. No objection to resolving it as a won't fix!

Note: See TracTickets for help on using tickets.