Welcome to iraf.net Friday, May 17 2024 @ 04:02 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 problem compiling finder v2.2.1
   
klabrie
 10/06/2007 12:42AM (Read 3218 times)  
++---
Junior

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

 
Profile Email
 Quote
fitz
 10/06/2007 12:42AM  
AAAAA
Admin

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

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login