C++ in KMDF

  • Thread starter J de Boyne Pollard
  • Start date
J

J de Boyne Pollard

WO> Actually, I don't know because I've never had a memory leak in the
WO> 64-bit version of one of my drivers. All the leaks got plugged
while
WO> testing in 32-bits. But for future reference, what's the
intrinsic?

In Microsoft's C++ compiler it's "_ReturnAddress". In GNU C++, it's
"__builtin_return_address". Watcom C++ doesn't have one (although
obtaining the return address is readily achievable using "#pragma
aux") and Comeau C++'s documentation isn't clear.
 
L

Lew Pitcher

WO> Actually, I don't know because I've never had a memory leak in the
WO> 64-bit version of one of my drivers. All the leaks got plugged
while
WO> testing in 32-bits. But for future reference, what's the
intrinsic?

In Microsoft's C++ compiler it's "_ReturnAddress". In GNU C++, it's
"__builtin_return_address". Watcom C++ doesn't have one (although
obtaining the return address is readily achievable using "#pragma
aux") and Comeau C++'s documentation isn't clear.

And in comp.lang.c, all this is off topic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top