On Wed, Sep 28, 2005 at 10:13:35AM -0400, Leonard Orb wrote:
> The macros "SAA7127_ERR" and "SAA7127_DEBUG" are defined for a
> variable parameter count.
> Gcc 2.95 expects at least one of the optional parameters to be there
> (i.e. two parameters for both macros), so best practice would be to
> add a ", 0" to each "SAA7127_ERR" and "SAA7127_DEBUG" that has only
> one parameter. Try 'SAA7127_ERR("I2C Write Problem\n", 0);' instead of
> 'SAA7127_ERR("I2C Write Problem\n");'
>
> Gcc 2.95 will then yield warnings instead of errors.
>
> @developers: Wouldn't it be better to define static functions instead
> of macros?I agree, static-inline does seem to be the recommended way to go now. I can start a conversion of these, unless Hans objects. -- Tyler Trafford
signature.asc
Description: Digital signature
_______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
