Hello All.
Doesn't this warning look dangerously?
In file included from
/home/runner/work/firebird/firebird/src/jrd/Coercion.cpp:29:
In file included from
/home/runner/work/firebird/firebird/src/jrd/../jrd/Coercion.h:33:
In file included from
/home/runner/work/firebird/firebird/src/include/../common/classes/array.h:34:
In file included from
/home/runner/work/firebird/firebird/src/jrd/../common/classes/alloc.h:48:
/home/runner/work/firebird/firebird/src/include/../common/../common/classes/auto.h:45:3:
warning: deleting pointer to incomplete type 'Jrd::PatternMatcher' may cause
undefined behavior [-Wdelete-incomplete]
delete ptr;
^ ~~~
/home/runner/work/firebird/firebird/src/include/../common/../common/classes/auto.h:109:17:
note: in instantiation of member function
'Firebird::SimpleDelete<Jrd::PatternMatcher>::clear' requested here
Clear<Where>::clear(ptr);
^
/home/runner/work/firebird/firebird/src/jrd/../dsql/../jrd/val.h:73:3: note: in
instantiation of member function 'Firebird::AutoPtr<Jrd::PatternMatcher,
SimpleDelete>::~AutoPtr' requested here
PatternMatcherCache(ULONG aKeySize)
^
/home/runner/work/firebird/firebird/src/jrd/../dsql/../jrd/val.h:60:7: note:
forward declaration of 'Jrd::PatternMatcher'
class PatternMatcher;
^
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel