| |
README Notes:
This patch originated at AMD, and was appended to OA Enhancement #1114 as directed
by AMD.
While you users are waiting for the fixed oaOccTraverser, you can do like I do, and
use this patch to make your own oaOccTraverserNew to use while you are waiting for
the official oaOccTraverser in OA.
Here's how to apply the patch, for the OA Team, and for application developers:
If you are the OA Development team, and you are fixing OA itself:
Get the patch, oaOccTraverser.1114.patch. This patches OA 22.04_p028. The patch is
also appended to this comment.
cd oa/src/design
patch -Np1 < path/to/oaOccTraverser.1114.patch
Edit oaOccTraverser.cpp and oaOccTraverser.h to remove "New" from the class
names
Follow the comments in the source files and the instructions in this enhancement to
reimplement methods in the correct base classes using the private API
I was shocked to find that I do not have an update for the oaOccTraverser unit test.
The unit test for oaOccTraverser is incorporated into my derived class' unit test.
Bad form, I know. If the OA Team tells me, "We'll integrate your new oaTraverser
if
you provide a unit test", I'll write it.
If you are an application programmer who wants to use oaOccTraverser right now
without waiting for the OA Team,
Get the patch, oaOccTraverser.1114.patch. This patches OA 22.04_p028. The patch is
also appended to this comment.
Copy oa/src/design/oaOccTraverser.{cpp,h} from OA version 22.04_p028 to your
application's source directory
cd your/application/src
patch -Np1 < path/to/oaOccTraverser.1114.patch
mv oaOccTraverser.h oaTraverserNew.h
mv oaOccTraverser.cpp oaTraverserNew.cpp
Use class oaOccTraverserNew in your code instead of oaOccTraverser.
John McGehee
On site at AMD
Voom, Inc.
|