This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Silence compiler warning when using sysctl


jay@systech.com wrote:

>> Assuming this is an undefined macro warning, I would
>> prefer:
>>
>>   #if defined(__FreeBSD_cc_version) &&
>> (__FreeBSD_cc_version >= 300001)
>>
>> to preserve existing behaviour precisely. Does this work
>> for you?
> 
> Yes.  I thought about that too after I submitted the patch.

Now fixed in CVS.

John Dallaway


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]