Because the -qtemplateregistry compiler option does
not impose any restrictions on the file structure of your application, it
has less administrative overhead than -qtempinc. You can
make the switch as follows:
- If your application compiles successfully with both -qtempinc and -qnotempinc,
you do not need to make any changes.
- If your application compiles successfully with -qtempinc but
not with -qnotempinc, you must change it so that it will
compile successfully with -qnotempinc. In each template
definition file, conditionally include the corresponding template implementation
file if the __TEMPINC__ macro is not defined. This is illustrated in Example of -qtempinc.