bug in sanei_debug.h

From: Jochen Eisinger (jochen.eisinger@gno.de)
Date: Sat Oct 14 2000 - 05:58:33 PDT

  • Next message: Jochen Eisinger: "remove option -pedantic from standard gcc options?"

    Hi!

    If you want to compile SANE without support for vararg macros, the
    prototype of sanei_debug_init is commented out... this can be avoided by
    the attached patch...

    if nobody objects, I'll commit this change tommorow.

    -- jochen

    --- include/sane/sanei_debug.h Sun Aug 13 18:49:43 2000
    +++ /usr/src/redhat/SOURCES/sane/include/sane/sanei_debug.h Sat Oct 14 14:54:45 2000
    @@ -45,10 +45,11 @@
                             "[" STRINGIFY(BACKEND_NAME) "] " msg, ##args); \
       } while (0)
     
    - extern void sanei_init_debug (const char * backend, int * debug_level_var);
     #else
     # define DBG sanei_debug
     #endif /* HAVE_VARARG_MACROS */
    +
    +extern void sanei_init_debug (const char * backend, int * debug_level_var);
     
     # define IF_DBG(x) x
     #endif /* NDEBUG */

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Sat Oct 14 2000 - 06:01:59 PDT