Mail Archives: djgpp/1996/06/11/08:45:02
On 11 Jun 1996, Gregary J Boyles wrote:
> In file included from /usr/local/lib/g++-include/iostream.h:31,
> from stringc.hpp:10, <<<<--- it mentions `stringc.hpp'
> from field.cpp:5:
> /usr/local/lib/g++-include/streambuf.h:207: arguments given to macro `clear'
> In file included from stringc.hpp:10, <<<<--- and again here
> from field.cpp:5:
> /usr/local/lib/g++-include/iostream.h:169: arguments given to macro `clear'
> /usr/local/lib/g++-include/iostream.h:172: arguments given to macro `clear'
[snip]
> /*
>
> File field.cpp
>
> Class implementations
>
> */
> #include <curses.h>
> #include <stdio.h>
> #include <stdlib.h>
> #include "string.hpp" <<<<---- this is `string.hpp', not `stringc.hpp'
> #include "display.hpp"
> #include "keycodes.hpp"
>
Something's strange here. The error messages talk about stringc.hpp, but
the files you posted don't #include stringc.hpp, only string.hpp (without
a `c'). Are you sure you posted the correct sources and the exact text
of error messages?
- Raw text -