[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
print_usage( ) causes errors when compiling .oct files
From: |
John W. Eaton |
Subject: |
print_usage( ) causes errors when compiling .oct files |
Date: |
Wed, 11 Oct 2006 17:21:02 -0400 |
On 11-Oct-2006, Aquil H. Abdullah wrote:
| When building .oct files from C++ source files I have on occasion run into
| the compile error:
|
| /home/aha/octave/include/octave-2.9.5/octave/defun-int.h: In
| function `octave_value_list Fisgalois(const octave_value_list&, int)':
| /home/aha/octave/include/octave-2.9.5/octave/defun-int.h:38: error: too
| few arguments to function `void print_usage(const std::string&, bool,
| const
| std::string&)'
|
| defun-int.h contains
| ....
| extern void print_usage (const std::string& nm, bool just_usage = false,
| const std::string& extra_msg = std::string ());
The print_usage function was changed some time after 2.9.5 to look up
up the name of the current function, so now the name is not required.
I'd suggest upgrading your copy of Octave.
jwe