Re: GCC include files conundrum.

From: <llewelly_at_xmission.com>
Date: 15 Mar 2004 12:01:16 -0700
llewelly_at_xmission.com writes:
[snip]
> As far as 'being compatible' goes, there is a gcc 2.95.3 port
>     (/usr/ports/lang/gcc295), and if it is still being maintained, I
>     would suggest any port which doesn't build with gcc 3.3.x be
>     modified to be use and require that port, after emiting a warning
>     of some kind, saying that gcc 2.95 won't be around forever, and
>     the port will have to be fixed soon. I just checked, and on my
>     5.2p2 box, gcc295 still builds. But surely someone already thought
>     of this, and decided that making ports build with gcc 3.3.3 was
>     better than making them use and require the gcc295 port, which,
>     after all, will only become harder to maintain over time.
[snip]

Replying to myself, I just tried hacking audio/tclmidi to use and
    require lang/gcc295, and it does not build with the gcc295 port.

/usr/local/bin/g++295 -c -O -pipe -mcpu=pentiumpro  -DHAVE_UNISTD_H=1
+-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FILIO_H=1 -DTIME_WITH_SYS_TIME=1
+-DRETSIGTYPE=void  -I/usr/local/include/tcl8.2 -fpic SMFTrack.cxx
SMFTrack.cxx: In function `class ostream & operator <<(ostream &, const SMFTrack &)':
SMFTrack.cxx:364: `::_Ios_Fmtflags' undeclared (first use here)
SMFTrack.cxx:364: parse error before `;'
SMFTrack.cxx:371: `prev_flags' undeclared (first use this function)
SMFTrack.cxx:371: (Each undeclared identifier is reported only once
SMFTrack.cxx:371: for each function it appears in.)
*** Error code 1
Received on Mon Mar 15 2004 - 10:01:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC