[amirus] Re: amirus

  • From: Andy Parfenov <poweramiga@xxxxxxxxxx>
  • To: amirus@xxxxxxxxxxxxx
  • Date: Wed, 12 Feb 2003 18:32:16 +0500

Hello 
On 12/02/03, Vovka wrote:\n

V> вот исходники. 
V> 2Levitator: попробую компильни.

В чём компилял? Мой sas кучу error'ов выдал.

SAS/C Amiga Compiler 6.58
Copyright (c) 1988-1995 SAS Institute Inc.

====================
#include<SDI_compiler.h>
Work's:Langs/HiSOFT_C/projects/amirus2/AmiRus2.c 2 Error 3: file not found 
"<sdi_compiler.h>"

====================
LONG  __builtin_printf ( STRPTR fmt, ... );
include:clib/alib_stdio_protos.h 20 Error 72: conflict with previous declaration
                                              See line 97 file "include:stdio.h"

====================
LONG sprintf( STRPTR buffer, STRPTR fmt, ... );
include:clib/alib_stdio_protos.h 21 Error 72: conflict with previous declaration
                                              See line 99 file "include:stdio.h"

====================
LONG fclose( long stream );
include:clib/alib_stdio_protos.h 22 Error 72: conflict with previous declaration
                                              See line 87 file "include:stdio.h"

====================
LONG fgetc( long stream );
include:clib/alib_stdio_protos.h 23 Error 72: conflict with previous declaration
                                              See line 105 file 
"include:stdio.h"

====================
LONG fprintf( long stream, STRPTR fmt, ... );
include:clib/alib_stdio_protos.h 24 Error 72: conflict with previous declaration
                                              See line 94 file "include:stdio.h"

====================
LONG fputc( long c, long stream );
include:clib/alib_stdio_protos.h 25 Error 72: conflict with previous declaration
                                              See line 107 file 
"include:stdio.h"

====================
LONG fputs( UBYTE *s, long stream );
include:clib/alib_stdio_protos.h 26 Error 72: conflict with previous declaration
                                              See line 108 file 
"include:stdio.h"

====================
LONG getchar( void );
include:clib/alib_stdio_protos.h 27 Error 135: argument count incorrect for 
macro "getchar", expecting 0 argume
nts

====================
LONG getchar( void );
include:clib/alib_stdio_protos.h 27 Error 72: conflict with previous declaration
                                              See line 118 file 
"include:stdio.h"

====================
LONG  putc( long c , (&__iob[1]) ) ;
include:clib/alib_stdio_protos.h 28 Error 90: invalid argument type specifier

====================
LONG  putc( long c , (&__iob[1]) ) ;
include:clib/alib_stdio_protos.h 28 Error 166: unrecoverable error or too many 
errors
                                               Terminating compilation
*** Execution terminated
sc - код возврата: 20

V> индикация - окно.

Да без проблем, только для начала компильнуться надо. Ещё где ниубдь есть
удобный и хороший хелп по функциям скрывающимся в инклюдах?

Regards


Other related posts: