delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/15/09:32:25

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: <ssiddiqi AT ipass DOT net>
From: "Suhaib M. Siddiqi" <ssiddiqi AT ipass DOT net>
To: <ssiddiqi AT inspirepharm DOT com>, <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE:gcc-2.95/ July 5 snapshot
Date: Thu, 15 Jul 1999 09:24:08 -0400
Message-ID: <NDBBLHPPKKBKPBLLMFJBEEPJCAAA.ssiddiqi@ipass.net>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019