Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Reply-To: From: "Suhaib M. Siddiqi" To: , Subject: RE:gcc-2.95/ July 5 snapshot Date: Thu, 15 Jul 1999 09:24:08 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <378DE011.43E820E9@inspirepharm.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Trying to compile winsup-src (July 06 snapshot) with gcc-2.95. I hit the first bump ;-) Has anyone compiled a recent winsup-src with gcc-2.95? Suhaib bash-2.02$ make gcc -c -g -O2 -Wall -Wwrite-strings -I./include -I. -I./newlib/libc/sy s/cy gwin -I./newlib/libc/include -I./config/i386 -nostdinc++ -D__INSIDE_CYGWIN__ -o regexp/regexp.o regexp/regexp.c gcc -c -g -O2 -Wall -Wwrite-strings -I./include -I. -I./newlib/libc/sy s/cy gwin -I./newlib/libc/include -I./config/i386 -nostdinc++ -D__INSIDE_CYGWIN__ -o regexp/regerror.o regexp/regerror.c gcc -c -g -O2 -Wall -Wwrite-strings -I./include -I. -I./newlib/libc/sy s/cy gwin -I./newlib/libc/include -I./config/i386 -nostdinc++ -D__INSIDE_CYGWIN__ -o regexp/regsub.o regexp/regsub.c gcc -c -fno-rtti -fno-exceptions -g -O2 -Wall -Wwrite-strings -I./incl ude -I. -I./newlib/libc/sys/cygwin -I./newlib/libc/include -I./config/i386 -nost dinc ++ -o assert.o assert.cc In file included from winsup.h:40, from assert.cc:11: path.h: In method `int path_conv::set_has_acls(int = 1)': path.h:53: warning: control reaches end of non-void function `path_conv::set_has _acls(int)' assert.cc: At top level: assert.cc:22: parse error before `,' assert.cc:29: ANSI C++ forbids declaration `h' with no type assert.cc:30: initialization to `int' from `void *' lacks a cast assert.cc:31: parse error before `if' assert.cc:35: ANSI C++ forbids declaration `buf' with no type assert.cc:35: `failedexpr' was not declared in this scope assert.cc:37: `failedexpr' was not declared in this scope assert.cc:37: `line' was not declared in this scope assert.cc:37: `file' was not declared in this scope assert.cc:37: ANSI C++ forbids declaration `siprintf' with no type assert.cc:37: `int siprintf' redeclared as different kind of symbol /cygnus/CYGWIN~4/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/gcc-2.95/../../.. /../ i586-cygwin32/include/stdio.h:177: previous declaration of `int siprintf(char *, const char *, ...)' assert.cc:37: initializer list being treated as compound expression assert.cc:38: ANSI C++ forbids declaration `MessageBoxA' with no type assert.cc:38: `int MessageBoxA' redeclared as different kind of symbol include/winuser.h:2709: previous declaration of `int MessageBoxA(void *, const C HAR *, const CHAR *, unsigned int)' assert.cc:38: initializer list being treated as compound expression assert.cc:39: parse error before `}' assert.cc:48: ANSI C++ forbids declaration `abort' with no type assert.cc:48: new declaration `int abort()' /cygnus/CYGWIN~4/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/gcc-2.95/../../.. /../ i586-cygwin32/include/stdlib.h:50: ambiguates old declaration `void abort()' assert.cc:51: parse error before `}' make: *** [assert.o] Error 1 bash-2.02$ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com