Hello Peter, Thanks for the heads up. I put the cast their initially because the compiler gave me a warning that interrupt handler install function argument 4 requires a rtems_interrupt_handler type.
So can you tell me, what is the right way to go about this ? What kind of problems can be caused ? How do I make sure that I'm actually fixing that part of code ? Regards Vipul Nayyar ________________________________ From: Peter Dufault <[email protected]> To: Vipul Nayyar <[email protected]> Cc: Sebastian Huber <[email protected]>; "[email protected]" <[email protected]> Sent: Wednesday, 24 July 2013 5:15 PM Subject: Re: [PATCH] Updated Legacy code in i386 pc386 On Jul 24, 2013, at 06:08 , Vipul Nayyar <[email protected]> wrote: I put (rtems_interrupt_handler) casts because I was getting warnings. After I removed them now, I think it's working fine. Don't know how.ecaus Be extremely careful about using casting to eliminate compiler warnings. That can just cause problems to be hidden instead of fixed. Peter ----------------- Peter Dufault HD Associates, Inc. Software and System Engineering
_______________________________________________ rtems-devel mailing list [email protected] http://www.rtems.org/mailman/listinfo/rtems-devel
