| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 874 |
|
The Sun native compiler requires template specializations to be registered in the template instantiation options file, Template.opt, which resides in the template repository. Within AIPS++ these specializations are registered in specializations files which reside in the same directory as the C++ code. A specialize rule is supplied with the initial version of makedefs supplied for sun4sol_ntv installations, and specialize is added as a dependency of allsys. The specialize rule checks for the existence of a specializations file and if found merges its contents into Template.opt. In this way the compiler specific behaviour is isolated to the local makedefs file and a set of specializations files which are ignored by other compilers.