public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Danny Smith <dannysmith@clear.net.nz>
To: GCC-help@gcc.gnu.org
Cc: mtrudel@gmx.ch
Subject: Re: libstdc++ regression from 4.1.1 to current live sources?
Date: Sun, 24 Sep 2006 22:25:00 -0000	[thread overview]
Message-ID: <000001c6e028$6d169cf0$6e6d65da@anykey> (raw)

From: Marco Trudel <mtrudel at gmx dot ch> 
Date: Sun, 24 Sep 2006 21:12:24 +0200 
> Hello list
> 
> I use cygwin on windows. Compiling GCC 4.1.1 source works, using the
current subversion state, I get:
> 
> /cygdrive/d/GCC/build/./gcc/xgcc -shared-libgcc
-B/cygdrive/d/GCC/build/./gcc -nostdinc++
-L/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/src
-L/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/src/.libs
-B/cygdrive/d/GCC/out/i686-pc-cygwin/bin/
-B/cygdrive/d/GCC/out/i686-pc-cygwin/lib/ -isystem
/cygdrive/d/GCC/out/i686-pc-cygwin/include -isystem
/cygdrive/d/GCC/out/i686-pc-cygwin/sys-include-I/cygdrive/d/GCC/build/i6
86-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include
-I/cygdrive/d/GCC/source/libstdc++-v3/libsupc++ -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g
-O2 -c /cygdrive/d/GCC/source/libstdc++-v3/src/codecvt.cc -o codecvt.o
> /cygdrive/d/GCC/source/libstdc++-v3/src/codecvt.cc:1: warning:
-ffunction-sections may affect debugging on some targets
> In file included from
/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include/ext/type_trait
s.h:38,
> from
/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include/bits/stl_algob
ase.h:73,
> from
/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include/bits/char_trai
ts.h:46,
> from
/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include/string:46,
> from
/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include/bits/locale_cl
asses.h:47,
> from
/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include/locale:44,
> from /cygdrive/d/GCC/source/libstdc++-v3/src/codecvt.cc:30:
>
/cygdrive/d/GCC/build/i686-pc-cygwin/libstdc++-v3/include/limits:291:22:
error:
> macro "min" requires 2 arguments, but only 1 given
> 

I suspect you have (wrongly) included windef.h somewhere.

> 
> 
> I compile with:
> /cygdrive/d/GCC/source/configure --prefix=/cygdrive/d/GCC/out \
> --enable-languages=c,c++,java \
> --disable-nls --disable-debug --disable-shared --disable-checking \
> --enable-threads=win32
                  ^^^^^^  
And this is why.  Change to use default posix thread model.


Danny

             reply	other threads:[~2006-09-24 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-24 22:25 Danny Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-09-24 19:12 Marco Trudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c6e028$6d169cf0$6e6d65da@anykey' \
    --to=dannysmith@clear.net.nz \
    --cc=GCC-help@gcc.gnu.org \
    --cc=mtrudel@gmx.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).