Welcome to iraf.net Friday, May 17 2024 @ 04:02 AM GMT
klabrie |
10/06/2007 12:42AM (Read 3218 times)
|
|
|
Status: offline
Registered: 12/13/2005
Posts: 22
|
When I try to compile finder v2.2.1 I get the following errors: prtabo:
fits_read.c: In function ‘printr_’:
fits_read.c:578: error: conflicting types for ‘fnroot_’
fits_read.c:126: error: previous declaration of ‘fnroot_’ was here... replae:
t_tpeak.c: In function ‘tpcoln_’:
t_tpeak.c:1059: error: conflicting types for ‘sscan_’
t_tpeak.c:206: error: previous declaration of ‘sscan_’ was hereI am using tables v3.7How should I modify the source code to enable a smooth compilation?Kathleen
|
|
|
|
fitz |
10/06/2007 12:42AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Hi Kathleen,What compiler and platform is complaining about this? Anyway, the fixes are simple:fits_read.x:
Line 226 fnroot used as subroutine, should be int func()t_tpeak.x:
Line 109/179 sscan() declared as int func(), should be subroutineThe most common errors you'll see are these sorts of mixed uses of functions and subroutines as well as mixed use of int/bool variables (e.g. an int used in a conditional or a bool set to YES instead of TRUE). Most all of these have been weeded out of the core system by now.Cheers,
-Mike
|
|
|
|
| |
|
Content generated in: 0.09 seconds |
|