In OSVERSION > 501103 gcc3.3, ANSI_ARGS not defined. Compiling: === cc -O2 -pipe -march=athlon-xp -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES -D_OS_UNIX -fpic -DPIC -DHAVE_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP -DMSYNC_3 -DINST_DIR='"/usr/local"' -DTARGET='"FreeBSD-5.2-CURRENT-i386"' -DHAVE_RLIMIT_NOFILE -o libmsql.o -c libmsql.c In file included from libmsql.c:52: /usr/include/varargs.h:34:2: #error "<varargs.h> is obsolete with this version of GCC." /usr/include/varargs.h:35:2: #error "Change your code to use <stdarg.h> instead." libmsql.c:222: error: syntax error before "va_dcl" libmsql.c:234: warning: parameter names (without types) in function declaration libmsql.c:234: warning: data definition has no type or storage class libmsql.c:235: error: `args' undeclared here (not in a function) libmsql.c:235: error: syntax error before "int" libmsql.c:235: warning: data definition has no type or storage class libmsql.c:236: error: conflicting types for `fmt' libmsql.c:232: error: previous declaration of `fmt' libmsql.c:236: error: `args' undeclared here (not in a function) libmsql.c:236: error: syntax error before "char" libmsql.c:236: warning: data definition has no type or storage class *** Error code 1 Stop in /usr/ports/databases/msql/work/msql-2.0.12/targets/FreeBSD-5.2-CURRENT-i386/msql. *** Error code 1 Stop in /usr/ports/databases/msql/work/msql-2.0.12/targets/FreeBSD-5.2-CURRENT-i386/msql. *** Error code 1 Stop in /usr/ports/databases/msql/work/msql-2.0.12/targets/FreeBSD-5.2-CURRENT-i386. *** Error code 1 Stop in /usr/ports/databases/msql/work/msql-2.0.12/targets/FreeBSD-5.2-CURRENT-i386. *** Error code 1 Stop in /usr/ports/databases/msql/work/msql-2.0.12. *** Error code 1 Stop in /usr/ports/databases/msql. === How-To-Repeat: Compile port whith FreeBSD > 5.1
State Changed From-To: open->closed Committed, thanks!