Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AC43377.7BE38DB6@datacomm.ch> Date: Fri, 30 Mar 2001 09:19:19 +0200 From: Andreas Madritsch Reply-To: amadritsch AT datacomm DOT ch X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: redefinition of '...' when porting from B20 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Could anyone help me please? I'm trying to compile a project, which had already been compiled successfully with cygwin beta 20. You should see the problem in the output below: gcc -v -D__OPTIMIZE__ -Wall -Wtraditional -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -mpentium -fstrength-reduce -ffast-math -fomit-frame-pointer -pipe -fno-exceptions -Os -fstrict-aliasing -malign-double -mno-ieee-fp -mno-cygwin -mwindows -I/usr/include -I/usr/include/ncurses -I/home/amadrits/XaoS/src/include -c -o timers.o timers.c Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/specs gcc version 2.95.2-6 19991024 (cygwin experimental) /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/cpp.exe -lang-c -v -I/usr/include -I/usr/include/ncurses -I/home/amadrits/XaoS/src/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Di386 -D__386__ -D__i386 -D_X86=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D__386__ -D__i386 -D_X86=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__OPTIMIZE_SIZE__ -D__OPTIMIZE__ -D__FAST_MATH__ -Wall -Wtraditional -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ -DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -isystem /usr/local/include/mingw -idirafter /usr/include/mingw -iwithprefixbefore ../../../../mingw/include/g++-3 -iwithprefixbefore ../../../../mingw/include -iwithprefixbefore ../../../../mingw32/include/g++-3 -iwithprefixbefore ../../../../mingw32/include -D_WIN32 -DWINNT -idirafter /usr/include/w32api -D__OPTIMIZE__ timers.c | /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/cc1.exe -quiet -dumpbase timers.c -mpentium -malign-double -mno-ieee-fp -mno-cygwin -mwindows -Os -Wall -Wtraditional -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -version -fstrength-reduce -ffast-math -fomit-frame-pointer -fno-exceptions -fstrict-aliasing -o - | /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/as.exe -o timers.o GNU CPP version 2.95.2-6 19991024 (cygwin experimental) (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /usr/include /usr/include/ncurses /home/amadrits/XaoS/src/include /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/include /usr/include/mingw /usr/include/w32api End of search list. The following default directories have been omitted from the search path: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../include/g++-3 End of omitted list. In file included from /usr/include/_ansi.h:15, from /usr/include/sys/unistd.h:8, from /usr/include/unistd.h:4, from timers.c:32: /usr/include/sys/config.h:109: warning: `INT_MAX' is not defined /usr/include/sys/config.h:122: warning: `INT_MAX' is not defined In file included from /usr/include/malloc.h:7, from timers.c:53: /usr/include/sys/reent.h:17: warning: `__LONG_MAX__' is not defined /usr/include/sys/reent.h:20: warning: `__INT_MAX__' is not defined GNU C version 2.95.2-6 19991024 (cygwin experimental) (i686-pc-cygwin) compiled by GNU C version 2.95.2-6 19991024 (cygwin experimental). In file included from /usr/include/w32api/windows.h:137, from timers.c:75: /usr/include/w32api/winsock.h:76: redefinition of `struct timeval' make: *** [timers.o] Error 1 Thanks, Andreas Madritsch -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple