[GRASS5] Re: Notes on compiling beta6f on ALPHA

Luca Palmeri <lpalmeri@ux1.unipd.it> wrote:

With CC I get the following error, right in the
beginning of compilation:
  cc: Error: /export/venus6b/grass/src/src/include/gisdefs.h, line 278:
Invalid declaration.
  int G_fatal_error(char *,...) __attribute__ ((__noreturn__));

I had to
exclude i.in.erdas due to the following error:
  main.c:48: conflicting types for `swab'

These are both mine.

The __noreturn__ attribute was to keep -Wall happy while I was hunting
down missing return statements. It serves no other purpose. I think
that all of the missing return-s are now accounted for, so it's not
necessary to keep this around. Change that prototype back to:
   int G_fatal_error(char *,...);

The i.in.erdas problem is something that I created to work around a
problem in my compiler. I should have fixed the egcs headers instead.
Delete the offending lines (45-49) and retry the compile.

i.in.erdas, as Angus said, is not usable on Alphas. There are alignment
issues with the data definition. It should compile cleanly, though.
Running it produces a segfault as it tries to use an ERDAS header that
has "only" 128 bytes.

Bill Hughes

----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 1927
max: 0

Dear developers,

good news - GRASs is in CVS now. At time we can provide
only read access, but (selected) write will follow soon.

Find instructions here:
http://intevation.de:15388/freegis/grass/

I will write a new CVS page for the GRASS server later this
day.

Regards

Markus Neteler

----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 978
max: 0