[ros-dev] Janitorial Task - Get rid of TAG_NONE

Alex Ionescu ionucu at videotron.ca
Tue Jan 11 13:59:36 CET 2005


Steven Edwards wrote:

>Hi,
>Royce suggested that we need to get rid of TAG_NONE and I remeber EA posting a list of tags a
>while back so maybe its a good time to look at the issue again. 
>
>We have quite a few cases where ExAllocatePool() and ExAllocatePoolWithQuota() is calling
>ExAllocatePagedPoolWithTag ( TAG_NONE ). I propose that we change the headers for these two
>functions to throw a compile error if we try to use them internally. We would still keep it
>implemented to support third party drivers but this way it will force developers to not use them.
>
>Thanks
>Steven
>
>
>  
>
I agree, I was proposing something like this before too, so I'm glad 
someone else is having the same idea. Instead of an error, maybe it 
would be less annoying to have the Ex* functions throw out a DPRINT1... 
Although that would be harder to trace.

Best regards,
Alex Ionescu


More information about the Ros-dev mailing list