[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#97603: can't compile with define gnu_source on alpha with stdio and curses



Package: gcc
Version: 1:2.95.3-7

risko@lully:~$ gcc -Wall -Werror -O2 probe.c
cc1: warnings being treated as errors
In file included from /usr/lib/gcc-lib/alpha-linux/2.95.4/include/stdarg.h:36,
                 from /usr/include/curses.h:80,
		                  from probe.c:3:
		 /usr/lib/gcc-lib/alpha-linux/2.95.4/include/va-alpha.h:36: warning: redefinition of `va_list'
		/usr/include/stdio.h:69: warning: `va_list' previously declared here

The code is:
#define _GNU_SOURCE
#include <stdio.h>
#include <curses.h>

int main()
{
    return 0;
    }


This bug prevent bombardier to compile on alpha platform.

Thanks,
RISKO Gergely




Reply to: