Solaris 7 OnLine Release Notes (SUNWrdm)


XGL may be removed in a future release. Starting with the Solaris 7 release, the following warning is generated when a XGL program is compiled:

#error: "XGL has been declared Obsolete and may not be present in
versions of Solaris after 7.
#define SUNXGL_WARNING_DISABLE (or use -D) to disable this message."

To compile a XGL program, disable the message by adding #define to the program:


or by using the following compiler directive: