Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 14:30:59 +0200 (CEST)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        corecode@corecode.ath.cx
Cc:        tlambert2@mindspring.com, nick-lists@netability.ie, hackers@FreeBSD.ORG, ports@FreeBSD.ORG, flynn@energyhq.homeip.net
Subject:   Re: lang/icc doesn't compile c++ sources
Message-ID:  <200204021231.g32CV0Rj092795@Magelan.Leidinger.net>
In-Reply-To: <20020402115201.4d85ed66.corecode@corecode.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On  2 Apr, Simon 'corecode' Schubert wrote:

>> Do you have test cases where the removal of icc's includes and the use
>> of "-X -I/usr/include/g++ -I/usr/include" fails?
> 
> yes. just as simple as that:
> 
> #include <string>
> std::string test;
> 
> it also fails after fixing the wchar_t thingy.
> the headers from the base system don't use namespaces correctly...

"test.cc", line 4: error: name followed by "::" must be a class or namespace name
  std::string test ="Hello World";
  ^

So we have to fix the base system headers in this regard and discard
Intels C++ headers?

What about these errors?
---snip---
test.cc:
"/usr/include/g++/std/bastring.h", line 142: error: too few arguments for class template "reverse_iterator"
    typedef ::reverse_iterator<iterator> reverse_iterator;
                                       ^

"/usr/include/g++/std/bastring.h", line 143: error: too few arguments for class template "reverse_iterator"
    typedef ::reverse_iterator<const_iterator> const_reverse_iterator;
---snip---

Bye,
Alexander.

-- 
      ...and that is how we know the Earth to be banana-shaped.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204021231.g32CV0Rj092795>