Apparent C++ problems

Peter Naulls peter at chocky.org
Fri Dec 28 14:26:56 PST 2001


In message <4af023e358dbennett2 at ntlworld.com>
          Dave Bennett <dbennett2 at ntlworld.com> wrote:

> In article <f6800bf04a.peter at moo.chocky.org>,
>    Peter Naulls <peter at chocky.org> wrote:
> > In message <4af0099478dbennett2 at ntlworld.com>
> >           Dave Bennett <dbennett2 at ntlworld.com> wrote:
> 

> In file included from hellow.cc:5:
> gccpkg:include/libscl/stdio.h:207: type specifier omitted for parameter
> gccpkg:include/libscl/stdio.h:207: parse error before `)'

Oh dear.  Yes, you've found a bug.  Consider it being looked into.

> > *gcc helloworld.cc -liostream -v
> 
> When I try it, I get:
> 
> Using builtin specs.
> gcc version 2.95.4 20010319 (prerelease) [gccsdk 20010912]
>  gccpkg:bin/arm-riscos-aof/2_95_4/cpp -lang-c++ -v -D__GNUC__=2
> -D__GNUG__=2 -D__GNUC_MINOR__=95 -D

> -lunixlib -lgcc
> ld fatal error: library file libiostream not found
> gcc: Fatal compiler error: program ld
> 
> 
> In which of the downloads should I have found libiostream?  (Surely not
> with the C compiler?)

Alas, it is.  Having said that, moving them would make the C++ zip
bigger than 1.44MB.   We'll have to see about some rearrangment of files
in the packages.

Peter


-- 
------------------------------------------------------------------------
 Peter Naulls - peter at chocky.org
 RISC OS Projects Initiative  -  http://www.chocky.org/initiative/
 Java for RISC OS and ARM     -  http://www.chocky.org/java/
 Debian Linux on RiscPCs      -  http://www.chocky.org/debian/
------------------------------------------------------------------------



More information about the gcc mailing list