Solaris 7 3/99 Online Release Notes (SUNWrdm)

XGL

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:


# define SUNXGL_WARNING_DISABLE

or by using the following compiler directive:


-DSUNXGL_WARNING_DISABLE