This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE:gcc-2.95/ July 5 snapshot


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]