Fix ODR violations

Detected by compiling with GCC flags `-flto -Wodr`.
This commit is contained in:
Olly Betts 2021-09-20 15:04:51 +12:00
commit 561a1d843d
4 changed files with 8 additions and 2 deletions

View file

@ -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\