Sun Studio 12 .. just for the heck of it ( again )

Dennis Clarke dclarke at blastwave.org
Mon Feb 20 21:19:50 CET 2012


> On Sun, 19 Feb 2012, Dennis Clarke wrote:
>
>> Same as with this :
>>
>>   http://gmplib.org/list-archives/gmp-bugs/2011-June/002271.html
>>
>> Sun Studio 12 simply will not compile GMP 5.0.4 and fails when it hits
>> isfuns.cc and needs to grok attribute malloc. Well the feature list at :
>>
>>    http://developers.sun.com/sunstudio/support/Ccompare.html
>>
>> clearly says "Additions to the __attributes__ clause: always_inline,
>> noinline,
>> pure, const, malloc, and aligned" are supported on Studio 12 and Studio 12
>> Update 1.
>>
>> I beg to differ :
>
> Haven't we been through this some years back? IIRC, Sun's C compiler
> introduced support for attribute((malloc)) but the C++ compiler did not
> support it in the same release (might have been added since then). And GMP
> has this old bug that it determines the features of the C compiler and
> uses the results for the C++ compiler.
>

Yes, this is old news but always worth a shot with the latest revs.

dc



-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke at blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+



More information about the gmp-bugs mailing list