fs ops was Re: change log for rtems (2010-06-22)

Ralf Corsepius ralf.corsepius at rtems.org
Thu Jun 24 06:53:48 UTC 2010


On 06/24/2010 08:28 AM, Chris Johns wrote:
> On 24/06/10 12:09 PM, Joel Sherrill wrote:
>> On 06/23/2010 05:57 PM, Chris Johns wrote:
>>> On 24/06/10 1:05 AM, Sebastian Huber wrote:
>>>> On 06/23/2010 04:57 PM, Joel Sherrill wrote:
>>>>> On 06/23/2010 07:23 AM, Sebastian Huber wrote:
>>
>> #define rtems_filesystem_default_read \
>> (rtems_filesystem_read_t) rtems_filesystem_operations_stub
>> #define rtems_filesystem_default_write \
>> (rtems_filesystem_write_t) rtems_filesystem_operations_stub
>
I am opposed to using this paradigm. As Chris's reply implied, it means 
lying to the compiler.
IMO, it will lead to unsafe and silently broken code.




More information about the vc mailing list