Opened 16 years ago

Closed 8 years ago

Last modified 8 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 Changed 15 years ago by warmerdam

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 Changed 13 years ago by hobu

Description: modified (diff)

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

comment:3 Changed 8 years ago by Even Rouault

Resolution: wontfix
Status: assignedclosed

comment:4 Changed 8 years ago by pkelly

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.