www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/11/08:45:02

Date: Tue, 11 Jun 1996 15:34:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Gregary J Boyles <boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: Compiler error????
In-Reply-To: <4pj5o4$pfp@lion.cs.latrobe.edu.au>
Message-Id: <Pine.SUN.3.91.960611152844.5274B-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019