public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Lev Assinovsky" <LAssinovsky@algorithm.aelita.com>
To: <gcc-bugs@gcc.gnu.org>
Subject: Is it a bug?
Date: Sat, 09 Aug 2003 10:31:00 -0000	[thread overview]
Message-ID: <3F6F4712B759A34ABD453A8B39C10D62CCA8D1@bagman.edm.com> (raw)

Hi all!
I tried to build the following program in HP-UX 11.00 using gcc 3.2.3:
=============== cut here ====================
#include <string>
template<class CChar>
struct ACharTraits:
    public std::char_traits<CChar>
{
};

typedef char TCHAR;

std::basic_string<TCHAR, ACharTraits<TCHAR>, std::allocator<TCHAR> > s("aaaa");

int main()
{
    
}

================= cut here ==================

AND GOT:
-bash-2.05b$ g++ -o tstr tstr.cpp
/usr/ccs/bin/ld: Unsatisfied symbols:
   std::basic_string<char, ACharTraits<char>, std::allocator<char> >::_Rep::_S_terminal(first referenced in /var/tmp//cctBl474.o) (data)
   std::basic_string<char, ACharTraits<char>, std::allocator<char> >::_Rep::_S_max_size(first referenced in /var/tmp//cctBl474.o) (data)
collect2: ld returned 1 exit status

IS IT A BUG?

Sincerely, 

----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909



             reply	other threads:[~2003-08-09 10:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-09 10:31 Lev Assinovsky [this message]
     [not found] <1a57b36d0803141049q771b54d2gf886f3dc2788309d@mail.gmail.com>
2008-03-14 17:58 ` is " Denisss
  -- strict thread matches above, loose matches on Subject: below --
2005-09-28  7:36 IS IT A BUG ???? Srujan.K.V.S.
2005-10-08  1:56 ` Jim Wilson
2001-05-22  2:28 is it a bug? Arne Moe
1999-08-26  5:37 Is " Magnus Benngard
1998-04-30 10:25 is " JC Loredo-Osti
1998-04-30 13:15 ` Joe Buck
1998-04-30 13:15   ` JC Loredo-Osti
1997-12-08  3:17 Is it a bug ? knizhnik
1997-12-08 12:01 ` Alexandre Oliva

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=3F6F4712B759A34ABD453A8B39C10D62CCA8D1@bagman.edm.com \
    --to=lassinovsky@algorithm.aelita.com \
    --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).