Re: lang/icc doesn't compile c++ sources

2002-04-02 Thread Simon 'corecode' Schubert
On Tue, 02 Apr 2002 15:22:32 -0800 Terry Lambert <[EMAIL PROTECTED]> wrote: > Alexander Leidinger wrote: > > "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

Re: lang/icc doesn't compile c++ sources

2002-04-02 Thread Terry Lambert
Alexander Leidinger wrote: > "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? This appears to be an attempt to declare an ins

Re: lang/icc doesn't compile c++ sources

2002-04-02 Thread Simon 'corecode' Schubert
On Tue, 2 Apr 2002 14:30:59 +0200 (CEST) Alexander Leidinger <[EMAIL PROTECTED]> wrote: > 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

Re: lang/icc doesn't compile c++ sources

2002-04-02 Thread Alexander Leidinger
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 > std::string test; > > it also fails after fixing the wchar_t thingy. > the

Re: lang/icc doesn't compile c++ sources

2002-04-02 Thread Simon 'corecode' Schubert
On Tue, 2 Apr 2002 10:34:07 +0200 (CEST) Alexander Leidinger <[EMAIL PROTECTED]> wrote: > On 1 Apr, Simon 'corecode' Schubert wrote: > > >> > my first tries for the patched include files can be found here: > >> > > >> > >>

Re: lang/icc doesn't compile c++ sources

2002-04-02 Thread Alexander Leidinger
On 1 Apr, Simon 'corecode' Schubert wrote: >> > my first tries for the patched include files can be found here: >> > >> >> We should either fix the base system, or ${IA32ROOT}/includes/. > > i'd really like to, but the heade

Re: lang/icc doesn't compile c++ sources

2002-04-01 Thread Miguel Mendez
On Mon, Apr 01, 2002 at 08:46:46PM +0200, Simon 'corecode' Schubert wrote: Hi Simon, > gcc 3.0.4 on the other hand ships with lots of more standardized > headers. if i am informed correctly, 5.0-c uses gcc 3.0.4? Close but no cigar :-) flynn@saioa# uname -srn FreeBSD saioa.energyhq.tk 5.0-CURR

Re: lang/icc doesn't compile c++ sources

2002-04-01 Thread Simon 'corecode' Schubert
On Mon, 1 Apr 2002 10:55:22 +0200 (CEST) Alexander Leidinger <[EMAIL PROTECTED]> wrote: > On 31 Mär, Simon 'corecode' Schubert wrote: > > > that's right. but as terry said, it seems to be a bad idea to use some > > headers that don't fit the libs. > > i tried to patch the headers coming with 4.

Re: lang/icc doesn't compile c++ sources

2002-04-01 Thread Cy Schubert - CITS Open Systems Group
In message <[EMAIL PROTECTED]>, Alexander Leidi nger writes: > On 31 Mär, Simon 'corecode' Schubert wrote: People, it appears that I (Cyril Schubert) am being confused with Simon Schubert. Please trim me, [EMAIL PROTECTED], from the cc list. I'm already subscribed to the lists and don't need

Re: lang/icc doesn't compile c++ sources

2002-04-01 Thread Alexander Leidinger
On 31 Mär, Simon 'corecode' Schubert wrote: > that's right. but as terry said, it seems to be a bad idea to use some > headers that don't fit the libs. > i tried to patch the headers coming with 4.4-S and lang/gcc30 (because > the one from the base system doesn't provide a proper c++ stl > implem

Re: lang/icc doesn't compile c++ sources

2002-04-01 Thread Alexander Leidinger
On 31 Mär, Terry Lambert wrote: > Probably this means you are still getting a mix of GNU and > ICC C++ header files, and need to carefully look at your > include paths. Yes, it has ${LOCALBASE}/intel/compiler50/include/ in the include path. There are some intel specific includes. We don't have i

Re: lang/icc doesn't compile c++ sources

2002-03-31 Thread Terry Lambert
Simon 'corecode' Schubert wrote: > > Alternately, you could ensure ordering... by reordering the source > > code. This seems like a poor idea, but it what Linux did implicitly, > > I think. 8-(. > > first of all i'm taking this as an aprils fool (no offence if it was > none) ;] It wasn't a jok

Re: lang/icc doesn't compile c++ sources

2002-03-31 Thread Simon 'corecode' Schubert
On Sun, 31 Mar 2002 14:01:00 -0800 Terry Lambert <[EMAIL PROTECTED]> wrote: > Simon 'corecode' Schubert wrote: > > icc -I./include -I/usr/include -I/usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/ > > 3.0.4/include/g++ -I /usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.0.4/inclu > > de/g++/i386-

Re: lang/icc doesn't compile c++ sources

2002-03-31 Thread Terry Lambert
Simon 'corecode' Schubert wrote: > icc -I./include -I/usr/include -I/usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/ > 3.0.4/include/g++ -I /usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.0.4/inclu > de/g++/i386-portbld-freebsd5.0 -c e.cc > e.cc: > "/usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/

Re: lang/icc doesn't compile c++ sources

2002-03-31 Thread Terry Lambert
Alexander Leidinger wrote: > ---snip--- > (7) netchild@ttyp1 % LD_PRELOAD= icc -c test.cc > test.cc: > "/usr/local/intel/compiler50/ia32/include/cwchar", line 16: error: the > global scope has no "tm" > using ::mbstate_t; using ::size_t; using ::tm; using ::wint_t; [ ... ] These are complainin

Re: lang/icc doesn't compile c++ sources

2002-03-31 Thread Simon 'corecode' Schubert
On Sun, 31 Mar 2002 19:52:21 +0200 (CEST) Alexander Leidinger <[EMAIL PROTECTED]> wrote: > On 31 Mär, I wrote: > > >>> "/usr/include/stdlib.h", line 57: error: invalid combination of type specifiers > >>> typedef _BSD_WCHAR_T_ wchar_t; > >> > >> This seems to be a problem with the wc

Re: lang/icc doesn't compile c++ sources

2002-03-31 Thread Alexander Leidinger
On 31 Mär, I wrote: >>> "/usr/include/stdlib.h", line 57: error: invalid combination of type specifiers >>> typedef _BSD_WCHAR_T_ wchar_t; >> >> This seems to be a problem with the wchar_t being intrinsic, >> and defined anyway for the compiler. > > So we just have to "#if !defined(__

Re: lang/icc doesn't compile c++ sources

2002-03-31 Thread Alexander Leidinger
On 30 Mär, Terry Lambert wrote: >> "/usr/include/stdlib.h", line 57: error: invalid combination of type specifiers >> typedef _BSD_WCHAR_T_ wchar_t; > > This seems to be a problem with the wchar_t being intrinsic, > and defined anyway for the compiler. So we just have to "#if !defined

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Terry Lambert
Simon 'corecode' Schubert wrote: > but that's not the point ;] icc will desperately fail on this because > the header files don't fit. > the headers coming with icc fit icc very well (of course) but don't fit > our system headers and the libs (some functions are being used in > templates which are

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Simon 'corecode' Schubert
On Sat, 30 Mar 2002 12:17:17 -0800 Terry Lambert <[EMAIL PROTECTED]> wrote: > Simon 'corecode' Schubert wrote: > > > Try this patch: > > > > > > --- bad Sat Mar 30 05:18:02 2002 > > > +++ goodSat Mar 30 05:18:23 2002 > > > @@ -1 +1,2 @@ > > > -echo '#include' > comp.cc > > > +echo '#inclu

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Terry Lambert
Nick Hilliard wrote: > > --- bad Sat Mar 30 05:18:02 2002 > > +++ goodSat Mar 30 05:18:23 2002 > > @@ -1 +1,2 @@ > > -echo '#include' > comp.cc > > +echo '#include ' > comp.cc > > +echo 'main() {}' >> comp.cc > > glibness aside, this doesn't work either: Works with g++... though I expect

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Nick Hilliard
> --- bad Sat Mar 30 05:18:02 2002 > +++ goodSat Mar 30 05:18:23 2002 > @@ -1 +1,2 @@ > -echo '#include' > comp.cc > +echo '#include ' > comp.cc > +echo 'main() {}' >> comp.cc glibness aside, this doesn't work either: flapjack:/home/nick> echo '#include ' > comp.cc flapjack:/home

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Terry Lambert
Simon 'corecode' Schubert wrote: > > Try this patch: > > > > --- bad Sat Mar 30 05:18:02 2002 > > +++ goodSat Mar 30 05:18:23 2002 > > @@ -1 +1,2 @@ > > -echo '#include' > comp.cc > > +echo '#include ' > comp.cc > > +echo 'main() {}' >> comp.cc > > > > > > 8-) 8-) 8-) > > ;] no, that's de

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Alexander Leidinger
On 30 Mär, Simon 'corecode' Schubert wrote: > but i can't get icc to compile a single c++ source: > it always fails on the headers. > > just a simple echo '#include' > comp.cc > won't compile. i've tested the include files of > o icc > o gcc 2.95.3 (the one from my base system, 4.5-S) > o gcc 3.

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Simon 'corecode' Schubert
On Sat, 30 Mar 2002 05:16:38 -0800 Terry Lambert <[EMAIL PROTECTED]> wrote: > Simon 'corecode' Schubert wrote: > > just a simple echo '#include' > comp.cc > > won't compile. i've tested the include files of > > o icc > > o gcc 2.95.3 (the one from my base system, 4.5-S) > > o gcc 3.0.4 (from the

Re: lang/icc doesn't compile c++ sources

2002-03-30 Thread Terry Lambert
Simon 'corecode' Schubert wrote: > just a simple echo '#include' > comp.cc > won't compile. i've tested the include files of > o icc > o gcc 2.95.3 (the one from my base system, 4.5-S) > o gcc 3.0.4 (from the ports) > > each one gives me a different error. > > did anybody already solve this prob

lang/icc doesn't compile c++ sources

2002-03-30 Thread Simon 'corecode' Schubert
hi hackers, alexander! i've installed the icc port and trying to compile... first of all, C source files compile (and then link with gcc). no problems with that. but i can't get icc to compile a single c++ source: it always fails on the headers. just a simple echo '#include' > comp.cc won't com