This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Bug in gcc/ginclude/va-i960.h



In this file, va_end is defined as:

    #define va_end(AP)      ((void *)0)

But egcs doesn't like this, and responds with:

    libpam/pam_log.c: In function `pam_system_log':
    libpam/pam_log.c:399: warning: statement with no effect

I believe it should actually be defined as:

    #define va_end(AP)      ((void)0)

Just like for every other machine.  The warning goes away in
that case.

Brad Garcia
   ___/  __ /  __ /  ___/ "Being the Linux of digital media
  __/   /  /  / _/  __/    would be a very good life."
_/    ____/ _/ _| ____/      - Jean-Louis Gassee, CEO of Be, Inc.




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