|
From: | Muzaffer Kal |
Subject: | RE: Bewildering '.oct' file behaviour |
Date: | Mon, 22 Mar 1999 18:23:24 -0800 |
-----Original Message-----I'm working on getting some C code linked into octave through
From: address@hidden [mailto:address@hiddenOn Behalf Of O. Scott Sands
Sent: Monday, March 22, 1999 5:59 PM
To: address@hidden
Subject: Bewildering '.oct' file behaviour
a C++ wrapper. The C code is a large signal processing chain
(around 6000 lines) and has lots of include files. It is known to
compile on a Sun under gcc (nothing fancy going on WRT the
actual code.A C++ wrapper file has been written (by hand) to link the
C code into octave. The problem comes when execution
wanders outside the C++ wrapper. I get a message
like....octave: can't resolve symbol 'process_some_data__FPc'
where 'process_some_data' is the name of a function that is
defined in one of the C files.Bewildering behaviour: When the function declaration is deleted
the symbol is resoved and the function is called. Proper operation
has yet to be confirmed however things appear to be woking ok.It seems like I'm missing the point here. Is it well known that
g++ doesn't like function delcarations? Can someone give me
a reference or other clue?
(note: ther is a log of complaining about undeclared functions
but compilation, obviously, completes)Thanks in advance....
-- O. Scott Sands address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |