Fix ODR violations
Detected by compiling with GCC flags `-flto -Wodr`.
This commit is contained in:
parent
45ebd33698
commit
561a1d843d
4 changed files with 8 additions and 2 deletions
|
|
@ -1301,13 +1301,14 @@ void R::addAccessor(String *memberName, Wrapper *wrapper, String *name,
|
|||
|
||||
#define MAX_OVERLOAD 256
|
||||
|
||||
namespace {
|
||||
struct Overloaded {
|
||||
Node *n; /* Node */
|
||||
int argc; /* Argument count */
|
||||
ParmList *parms; /* Parameters used for overload check */
|
||||
int error; /* Ambiguity error */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
List * R::Swig_overload_rank(Node *n,
|
||||
bool script_lang_wrapping) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue