Re: "was not declared in this scope"

From: David White (no_at_email.provided)
Date: 03/21/05


Date: Mon, 21 Mar 2005 12:08:01 +1100


"William" <wh2leung@student.cs.uwaterloo.ca> wrote in message
news:Pine.GSO.4.58.0503201935570.15272@cpu02.student.cs.uwaterloo.ca...
> The entire contents of my Peer.h and Overseer.h are as follows:

[snip]

I can't compile it as is because I don't have Communications.h, but if I
modify it minimally to exclude that then it still compiles okay. At first I
thought you might have an #ifdef instead of an #ifndef, but now I think that
circular inclusions, as Donovan Rebbechi's reply suggested, is the most
likely reason.

DW



Relevant Pages

  • Re: Function to count workdays
    ... even compile code before moving it to production, ... I prefer handling holidays ... That's why experienced programmers write tests. ...
    (comp.databases.ms-access)
  • Re: Compiling the scriptbasic package
    ... configuring module bdb ... The module did not compile ... dll FAIL lib FAIL bas OK ...
    (comp.os.linux.misc)
  • Re: string in a string
    ... I have since tried it at home, and it does compile ... | (say null-terminated character arrays, instead of std::string objects), ... arrays (AKA C-Style strings), it will still work, as ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Java web services
    ... > * Use WSDL2Java to create classes based on the supplied WSDL, ... > that the JDK be in the classpath, and compile the necessary classes on ...
    (comp.lang.java.programmer)
  • Re: 200x wish list
    ... Albert van der Horst wrote: ... <SNIP> ... to check whether] is used when there is no definition in progress. ... It's an error to compile anything without a definition started to ...
    (comp.lang.forth)