On 2/10/2010 5:33 PM, Chaz Chandler wrote:
> 
>>> I suspect what we should do here is either drop ukernel from the IRIX
>>> build entirely, or write a configure test for label support that we
>>> can use in all of these situations when we're building in user mode.
>>>     
>> How prevalent is a lack of support for structure labels? If we are sure
>> this limitation is only on a few specific platforms, this needn't be a
>> configure test (instead just somewhere appropriately #define
>> AFS_LABEL_ENV or something). Though a configure test is more correct,
>> I'd hate to slow the build for something that exists almost everywhere.
>>   
> 
> I'm not sure how prevalent the lack of support is elsewhere, but I can
> say that the reason we have both __c99 and AFS_SGI_ENV in that ifdef is
> that the c99 compiler on irix does support labels.

Is the existence of the __c99 preprocessor symbol a requirement of C99
compliant compilers?  If so, we can simply conditionality use structure
labels when __c99 is defined.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to