[cairo] testing of cairo_has_constructor_attribute is false positive for Sun Studio 12

Ginn Chen Ginn.Chen at Sun.COM
Wed Feb 25 02:13:52 PST 2009


Sun Studio 12 doesn't support __attribute__((constructor)), but Sun  
Studio 12 C compiler doesn't throw an error or warning for it.
Sun Studio Express supports this feature.

Other things would help for Solaris platform.
1) test if "-lsocket" is required.
2) test if daemon() is available.

I can finally get cairo test work with hacking all these things.

Ginn

--------
Ginn Chen
Software Engineer, Browser Team
Sun Microsystems, Inc.
Phone: x82869 / +86-10-62673869
Fax: +86-10-62780969




More information about the cairo mailing list