[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding prototypes for functions etc
From: |
fat |
Subject: |
Adding prototypes for functions etc |
Date: |
Thu, 3 Mar 1994 02:30:13 -0500 (EST) |
Hi guys,
I need help with installing octave version 1.0 on a Decstation 5000
running ultrix version 4.3. We are running gcc 2.5.7, and make 3.7. Everything
compiles normally until we get to the src directory and g++ tries compiling
octave.cc then I get the following warnings and errors:
g++ -c -I. -I. -I.. -I../liboctave -I. -I./liboctave -DHAVE_CONFIG_H
-fexternal -templates -g -O octave.cc
In file included from octave.cc:59:
Stack.h:31: warning: templates that are built with -fexternal-templates
should be in files that have #pragma interface/implementation
octave.cc: In function `void initialize_globals(char *)':
octave.cc:176: warning: implicit declaration of function `int endpwent(...)'
octave.cc: In function `int main(int, char **)':
octave.cc:445: warning: ANSI C++ prohibits conversion from `()' to `(...)'
octave.cc:523: incompatible pointer types for argument 2 of `void (*
signal(int,void (*)(int)))(int)'
make[1]: *** [octave.o] Error 1
I saw this error mentioned in the installation guide however, I don't know
what to do about prototypes for signal () etc..
--
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
---- ---
| | ___\ /~~~| ------------------
_:_______|/'(..)`\_______/ | |_______|Why walk when you|
<_|`````` \__~~__/ ___|_| |can fly..........|
:\_____(=========,(*),--\__|_/ ------------------
| \ /---'
... __0 | (*) / address@hidden (202) 806-4810
.. _`\<,_ |____/ Andre T. Fraser (Sys Op)
___(*)/_(*)_____________________________________________________________
Ask me a question. If I don't know the answer, then come back tomorrow
and I'll have an answer.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Adding prototypes for functions etc,
fat <=