Roland Mainz wrote:
> Peter Memishian wrote:
>   
>>  > > Can I assume that the C99 datatypes |float complex| and |double complex|
>>  > > can be used by code within OS/Net (I'd like to be sure before writing a
>>  > > larger piece of code (e.g. I don't want to fall into the same trap like
>>  > > in the C99/VLA case)) ?
>>  >
>>  > Uhm... does the silence mean "yes" or "no" ? :-)
>>
>> It probably means that no one on this list has tried to use it :-)  I'd
>> think it should work fine though -- VLAs are a bit of a special case.
>>     
>
> Mhhh... but VLAs did work with ctftools with Sun Studio 10, too... but
> then OS/Net switched over to Studio 11 and suddenly I had to throw away
> some code because there was no way to compile it within the tree. That's
> why I am carefully asking before investing lots of work based on |float
> complex|/|double complex| and then receive a "bite" from the next
> compiler update (e.g. Sun Studio 12 or a later patchlevel of Studio 11)
>   

Dare I ask what you are considering using complex types for?

I have a hard time imagining any code in ON that would realistically 
need it.  I suppose if you're just exposing this to users through some 
other API...

At the moment, I'd be cautious about being the first one to use the 
code... if only because it may not have the same robustness and 
performance that more traditional code has.  (For example, the optimizer 
might not deal as well with it, simply because it hasn't entered into 
mainstream practice yet.)

    -- Garrett


_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to