[postgis-users] Re: [postgis] postgis and sgi irix 5.3

Jiøí Kastner indy.j at seznam.cz
Wed Mar 27 09:25:56 PST 2002


dne Tue, 26 Mar 2002 08:30:32 -0800
"Paul Ramsey" <pramsey at refractions.net> napsal(a):

> Well, at the minimum, you'll be able to separate the trivial errors
> from the important errors. Run a simple script over all the files to
> remove the CR's and try again...
> 

thanx for scipt, <cr> removed, second step was make commentary in ansi c
style /*...*/ after i got this:



cfe: Warning 625: postgis_debug.c, line 98: Empty declaration
 extern Pg_finfo_record * pg_finfo_mem_size  (void); Pg_finfo_record *
pg_finfo_mem_size  (void) {      static Pg_finfo_record my_finfo = { 1
};        return &my_finfo; } ;
-----------------------------------------------------------------------
---------------------------    
-----------------------------------------       --------------------^
cfe: Warning 625: postgis_debug.c, line 107: Empty declaration extern
Pg_finfo_record * pg_finfo_numb_sub_objs  (void); Pg_finfo_record *
pg_finfo_numb_sub_objs  (void) {    static Pg_finfo_record my_finfo = {
1 };        return &my_finfo; } ;
-----------------------------------------------------------------------
-------------------------------------  
-----------------------------------------       --------------------^
cfe: Warning 625: postgis_debug.c, line 116: Empty declaration extern
Pg_finfo_record * pg_finfo_summary  (void); Pg_finfo_record *
pg_finfo_summary  (void) {        static Pg_finfo_record my_finfo = { 1
};        return &my_finfo; } ;
-----------------------------------------------------------------------
-------------------------      
-----------------------------------------       --------------------^
cfe: Error: postgis_debug.c, line 212: 'BYTE_ORDER' undefined;
reoccurrences will not be reported.                if (BYTE_ORDER ==
LITTLE_ENDIAN)                ----^
cfe: Error: postgis_debug.c, line 219: 'BYTE_ORDER' undefined;
reoccurrences will not be reported.                if (BYTE_ORDER ==
LITTLE_ENDIAN)                ----^
cfe: Error: postgis_debug.c, line 282: 'BYTE_ORDER' undefined;
reoccurrences will not be reported.                if (BYTE_ORDER ==
LITTLE_ENDIAN)                ----^
cfe: Error: postgis_debug.c, line 289: 'BYTE_ORDER' undefined;
reoccurrences will not be reported.                if (BYTE_ORDER ==
LITTLE_ENDIAN)                ----^
cfe: Error: postgis_debug.c, line 717: Type void  of returning
expression is incompatible with type void  of function return type      
         return  decode_wkb_collection(wkb, size);                ^
gmake: *** [postgis_debug.o] Error 1

where to define BYTE_ORDER?




More information about the postgis-users mailing list