Current-Users archive

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

Re: Build break - port amd64 - libcurses tests



BTW, this seems to be building successfully on i386, so there must be something special about the __builtin_va_list type. I notice that in src/sys/arch/amd64/include/ansi.h, the definition is conditional on

#ifdef __GNUC__
#define _BSD_VA_LIST_           __builtin_va_list /* GCC built-in type */
#else
#define _BSD_VA_LIST_           char *          /* va_list */
#endif

while for src/sys/arch/i386/include/ansi.h the condition is

#if __GNUC_PREREQ__(2, 96)
#define _BSD_VA_LIST_           __builtin_va_list /* GCC built-in type */
#else
#define _BSD_VA_LIST_           char *          /* va_list */
#endif



On Sun, 10 Apr 2011, Paul Goyette wrote:

With sources updated moments ago...

#   compile  slave/curses_commands.o
/test-bed/tools/bin/x86_64--netbsd-gcc -O2 -Werror -g -I/test-bed/src/tests/lib/libcurses/slave -I. -I/test-bed/src/tests/lib/libcurses/slave/../director -nostdinc -isystem /test-bed/dst/usr/include -c /test-bed/src/tests/lib/libcurses/slave/curses_commands.c
cc1: warnings being treated as errors
/test-bed/src/tests/lib/libcurses/slave/curses_commands.c: In function 'cmd_vw_printw': /test-bed/src/tests/lib/libcurses/slave/curses_commands.c:4416: warning: passing argument 3 of 'vw_printw' from incompatible pointer type /test-bed/src/tests/lib/libcurses/slave/curses_commands.c: In function 'cmd_vw_scanw': /test-bed/src/tests/lib/libcurses/slave/curses_commands.c:4437: warning: passing argument 3 of 'vw_scanw' from incompatible pointer type

*** Failed target:  curses_commands.o


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index