On 06/17/2016 10:25 AM, Paul Reeves wrote:
> I tried to build FB3 for valgrind yesterday, without any success.
>
> AFAICT, all that is needed is to declare DEV_FLAGS with -DUSE_VALGRIND
> and then run make Debug.
>
> The first build problem arrives with DELAYED_EXTENT_COUNT being used in
> anonymous namespace, before it has been defined. That was easy enough
> to work around. But then this error is thrown:
>
>    alloc.cpp:1866:51: error: ‘class Firebird::MemBlock’ has no member
>    named ‘length’ VALGRIND_MAKE_WRITABLE(object, block->length));
>
>
> Looking at MemBlock there is certainly no length member, but
> MemBaseHunk does have one. A refactoring error perhaps?
>
>
> Should I file a bug report?

yes, please.
Have to mention that I've forgotten about valgrind when did last 
refactoring of MemPool.



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to