[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reason for ::error calls?
From: |
rik |
Subject: |
Reason for ::error calls? |
Date: |
Wed, 05 Aug 2015 13:18:44 -0700 |
8/5/15
jwe,
I am seeing a lot of mixed calling conventions for the error function in
libinterp. Some of the time the function is called as '::error' and other
times it is the bare word 'error'. As an example, ov-fcn-handle.cc:85 uses
'::error', but all other instances in the same file use just 'error'.
Since the C++ files are using '#include "error.h"' they should be getting
the prototypes they need. Is there a reason not to simplify a lot of these
instances by removing the '::' operator?
--Rik
- Reason for ::error calls?,
rik <=