Re: g++ 4.1.1 Missing warning

2006-06-24 Thread andrew
Stupid, stupid. While creating a minimal test case, my mistake becomes apparent, so please disregard. In case you're wondering, adding 'explicit' to the main Bifilter constructor stops the first parameter in Bifilter _bif(new Filter(),Bifilter::DELETE_ON_DESTRUCTION); being implicitly convert

Re: g++ 4.1.1 Missing warning

2006-06-24 Thread andrew
No negative responses, so I'll enter it in bugzilla. Andrew Walrond

g++ 4.1.1 Missing warning

2006-06-22 Thread andrew
I was surprised when this erroneous line didn't give an error: Bifilter _bif(new Filter(),Bifilter::DELETE_ON_DESTRUCTION); when the Bifilter constructor is defined as class Bifilter : public Filter { public: enum DestructorAction { DELETE_ON_DESTRUCTION, KEEP_ON_DE