IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#141 closed defect (fixed)

slalib.h uses #elseif

Reported by: Paul Price Owned by: robert.desonia@…
Priority: high Milestone:
Component: astro Version: unspecified
Severity: normal Keywords:
Cc:

Description

During testing on nkfb0, psLib would not link with SLALIB:

slalib.h:61:2: invalid preprocessing directive #elseif
slalib.h:67:1: "slaAoppa" redefined
slalib.h:57:1: this is the location of the previous definition
slalib.h:68:1: "slaAopqk" redefined
slalib.h:58:1: this is the location of the previous definition
slalib.h:69:1: "slaOapqk" redefined
slalib.h:59:1: this is the location of the previous definition

"#elseif" should be "#elif".

Not sure why nkfb0 barfed but my machine didn't. It could be that nkfb0 has gcc
3.3.3, while mine has 3.2.3, or some different handling of the Fortran function
symbols.

Change History (2)

comment:1 by robert.desonia@…, 22 years ago

Resolution: fixed
Status: newclosed

This is the problem with knowing so many languages. :-)

I replaced the #elseif statements with #elif, as you suggested. I folded the
change into the CVS main trunk and created a rel2_2 tag that contains this fix
for the rel2 codebase.

-rdd

comment:2 by Paul Price, 22 years ago

Verified.

Note: See TracTickets for help on using tickets.