public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/28084]  New: /usr/include/errno.h:28: error: previous declaration of 'int errno' with 'C++' linkage
Date: Mon, 19 Jun 2006 14:24:00 -0000	[thread overview]
Message-ID: <bug-28084-276@http.gcc.gnu.org/bugzilla/> (raw)

/mnt/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/mnt/gnu/gcc/objdir/./gcc
-nostd
inc++ -L/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/mnt/gnu/gc
c/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/opt/gnu/gcc/gcc-4.2.0/h
ppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.2.0/hppa2.0w-hp-hpux11.11/lib/
-i
system /opt/gnu/gcc/gcc-4.2.0/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gc
c/gcc-4.2.0/hppa2.0w-hp-hpux11.11/sys-include
-I/mnt/gnu/gcc/objdir/hppa2.0w-hp-
hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/mnt/gnu/gcc/objdir/hppa2
.0w-hp-hpux11.11/libstdc++-v3/include -I/mnt/gnu/gcc/gcc/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-
show-location=once -g -O2 -c c++locale.cc  -fPIC -DPIC -o .libs/c++locale.o
/usr/include/errno.h:28: error: previous declaration of 'int errno' with 'C++'
linkage
/usr/include/sys/errno.h:48: error: conflicts with new declaration with 'C'
linkage
make[4]: *** [c++locale.lo] Error 1
make[4]: Leaving directory
`/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-
v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-
v3'
make[2]: *** [all] Error 2

-bash-2.05b$ ./xgcc -B./ -v
Reading specs from ./specs
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as
--enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.2.0
--with-gmp=/opt/gnu/gcc/gcc-4.2.0 --enable-debug=no --disable-nls
--enable-threads=posix --enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.2.0 20060619 (experimental)


-- 
           Summary: /usr/include/errno.h:28: error: previous declaration of
                    'int errno' with 'C++' linkage
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28084


             reply	other threads:[~2006-06-19 14:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 14:24 danglin at gcc dot gnu dot org [this message]
2006-06-19 17:22 ` [Bug target/28084] " dave at hiauly1 dot hia dot nrc dot ca
2006-06-19 17:38 ` [Bug target/28084] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-06-19 23:50 ` sje at cup dot hp dot com
2006-06-20  0:22 ` dave at hiauly1 dot hia dot nrc dot ca
2006-06-23 16:35 ` sje at gcc dot gnu dot org
2006-06-24  7:50 ` pinskia at gcc dot gnu dot org
2006-07-10 17:19 ` sje at gcc dot gnu dot org

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=bug-28084-276@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).