Skip to content

space.c GCTPC prototypes conflict with GCTPC 2.0 #13

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Build lndsr with http://edcftp.cr.usgs.gov/pub/software/gctpc/gctpc20.tar
2.
3.

What is the expected output? What do you see instead?

I get the error:

INFO: From Compiling third_party/ledaps/lndsr/space.c:
third_party/ledaps/lndsr/space.c:101:5: error: conflicting types for 'for_init'
int for_init( int outsys, int outzone, double *outparm, int outdatum,
    ^
third_party/gctpc/source/proj.h:164:6: note: previous declaration is here
void for_init(long outsys, long outzone, double *outparm, long outspheroid,
     ^
third_party/ledaps/lndsr/space.c:104:5: error: conflicting types for 'inv_init'
int inv_init( int insys, int inzone, double *inparm, int indatum,
    ^
third_party/gctpc/source/proj.h:197:6: note: previous declaration is here
void inv_init(long insys, long inzone, double *inparm, long inspheroid,
     ^
2 errors generated.


What version of the product are you using? On what operating system?

LEDAPS (r122) on 64bit Linux. 


Please provide any additional information below.

Original issue reported on code.google.com by warmerdam@google.com on 1 Aug 2013 at 6:49

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions