various fixes to remove warnings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-11-01 21:10:06 +00:00
commit dc12af75b6
21 changed files with 41 additions and 28 deletions

View file

@ -162,9 +162,10 @@ public:
char contrived(const char *c = &charvalue) { return *c; }
protected:
static const int intvalue = 2000;
static const double doublevalue = 987.654;
static const double doublevalue;
};
const char Tricky::charvalue = 'X';
const double Tricky::doublevalue = 987.654;
// tests default argument which is a constructor call within namespace