GCC-3.2.3 prerelease, 1st iteration
Gabriel Dos Reis
gdr@integrable-solutions.net
Sun Apr 13 12:12:00 GMT 2003
"Stephan T. Lavavej" <stl@caltech.edu> writes:
| Hi,
|
| I use MinGW, and I downloaded MSYS in order to compile the 3.2.3 prerelease.
| This is my first time compiling gcc.
|
| ./configure ran fine, but make quickly failed, with this:
|
| make[1]: Entering directory `/c/temp/gcc-3.2.3-20030412/fastjar'
| gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./../zlib -I./../include -W
| -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -g
| -O2 -c jartool.c
| In file included from jartool.c:234:
| ../include/getopt.h:115: warning: function declaration isn't a prototype
I can't see any change to gcc-3.2.3/include/getopt.h between 3.2.1 and
3.2.2 and 3.2.3pre. The most recent change to that file, according to
ChangeLog, is:
2002-11-03 Roger Sayle <roger@eyesopen.com>
DJ Delorie <dj@redhat.com>
* getopt.h: Avoid prototyping getopt with no arguments in C++.
| jartool.c: In function `main':
| jartool.c:437: `S_IRGRP' undeclared (first use in this function)
| jartool.c:437: (Each undeclared identifier is reported only once
Hmm, something seems to be wrong with your system stat header file.
DJ, please, could you look into this?
[...]
| I don't know if this is a problem with gcc or on my end. It seems to me
| that ./configure followed by make should "just work", though.
That is the intent. Thanks for your report.
-- Gaby
More information about the Gcc
mailing list