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
|
|
@ -93,6 +93,7 @@ static int nortti = 0;
|
|||
static int relativeimport = 0;
|
||||
|
||||
/* flags for the make_autodoc function */
|
||||
namespace {
|
||||
enum autodoc_t {
|
||||
AUTODOC_CLASS,
|
||||
AUTODOC_CTOR,
|
||||
|
|
@ -103,7 +104,7 @@ enum autodoc_t {
|
|||
AUTODOC_CONST,
|
||||
AUTODOC_VAR
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
static const char *usage1 = "\
|
||||
Python Options (available with -python)\n\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue