Hi,
Here is a patch to
2.1.0 to fix the locations of slice output header files in the source generated by slice2freeze. The 2.1.0 code ignores the --output-dir option when inserting #include directives into its output. This patch corrects this oversight.
This fix assumes that if you use the --output-dir option for slice2freeze, you will use the same option for slice2cpp. This may not be the best assumption, but I believe it's better than what is currently done. This has been tested a little on gcc/Solaris, but it's portable code, so it should work elsewhere.
This patch should also work on version 2.1.2, but this hasn't been tested.
Cheers,
-- Andrew Bell
andrew.bell.ia@gmail.com