Good day.

On 05/30/2013 10:41, Jean-Pierre wrote:
Alexander Pyhalov wrote:
Hello.

And, I expected "#ifdef _sun" to mean just that, irrespective of
compiler, instead of meaning "This code is meaningful to a
Sun-derived compiler".

Can somebody point to a guideline ?

Yes, GCC also defines this macros, so I used __SUNPRO_CC one.

I was misguided by http://docs.oracle.com/cd/E19205-01/820-4155/c++_faq.html , where __sun is described as "Sun compiler".
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev

Reply via email to