Issue 9022 - per class operator new/delete DECL_FIXEDMEMPOOL_NEWDEL_DLL macro
Summary: per class operator new/delete DECL_FIXEDMEMPOOL_NEWDEL_DLL macro
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: 643
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: matthias.huetsch
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-06 16:40 UTC by caolanm
Modified: 2002-11-18 12:25 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch (1.06 KB, patch)
2002-11-06 16:40 UTC, caolanm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2002-11-06 16:40:27 UTC
With -Wall g++ complains about "delete void *" being an undefined operation when
DECL_FIXEDMEMPOOL_NEWDEL_DLL has been used, looking at mempool.hxx I see what it
doesn't like and I'm also uncertain if the existing code is guaranteed to be ok.

The attached patch to tools/inc/mempool.hxx silences g++ and would definitely
have safe behaviour.
Comment 1 caolanm 2002-11-06 16:40:55 UTC
Created attachment 3506 [details]
patch
Comment 2 hennes.rohling 2002-11-08 14:29:04 UTC
Reassigned
Comment 3 matthias.huetsch 2002-11-08 15:08:04 UTC
Hi Caolon,

Yes, your patch is absolutely correct and approved. Why don't you just
go ahead and commit that yourself?

Thanks,
Matthias
Comment 4 caolanm 2002-11-08 15:12:11 UTC
Done.
Comment 5 caolanm 2002-11-18 12:24:47 UTC
in SRX644m
Comment 6 caolanm 2002-11-18 12:25:26 UTC
close