|
From: Norbert I. <N....@di...> - 2010-04-14 14:34:53
|
Yes, "__SUNPRO_CC", e.g.: #ifdef __SUNPRO_CC #include <unistd.h> #endif -----Ursprüngliche Nachricht----- Von: Luigi Ballabio [mailto:lui...@gm...] Gesendet: Mittwoch, 14. April 2010 11:51 An: Norbert Irmer Cc: qua...@li... Betreff: Re: AW: [Quantlib-dev] Quantlib with Sunstudio 12.1 on Solaris 2.10/Sparc On Tue, 2010-04-13 at 15:51 +0200, Norbert Irmer wrote: > Sunstudio is an IDE plus compiler (successor of Sun-Forte, -WorkshopPro, or > whatever names, this product ever had:). The IDE uses NetBeans, and the > Debugging is very professional, reliable and robust on Sparc platforms > (like in Visual Studio, KDevelop+GCC+GDB cannot compare to this!). Ok. Is there any #define that I can test for if I want to check whether I'm using the Sun Studio compiler? (as in, e.g., #ifdef __MINGW32__ to check for the MinGW compiler.) Thanks, Luigi -- All generalizations are false, including this one. -- Mark Twain |