#1 Error while compiling

closed-fixed
nobody
None
5
2006-02-23
2005-07-24
Maarten Bremer
No

Hi,

Sounds like a nice project. Unfortuantly I cant compile
it. It stops on:

rotocol.h:54: warning: forward declaration of 'struct
IOStream'
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/memory:259:
note: neither the destructor nor the class-specific
operator delete will be called, even if they are
declared when the class is defined.

Discussion

  • Fabian Groffen
    Fabian Groffen
    2005-08-09

    Logged In: YES
    user_id=963970

    The real error is miles above in another file. If that
    error is fixed, it continues and goes on to the next error.
    The errors are caused by lines like this in the source code:

    // set packing to one byte
    #ifdef STRUCTURE_PATCKING_FOR_WIRE_USE_HEADERS
    #include "BeginStructPackForWire.h"
    #else
    BEGIN_STRUCTURE_PACKING_FOR_WIRE
    #endif

    gcc4 doesn't like this.
    I don't know what it is supposed to do, or whether this
    ifdef is just being triggered with gcc 4, but so far
    commenting them out seems to make the compilation process
    continue...

     
  • Ben Summers
    Ben Summers
    2006-02-23

    Logged In: YES
    user_id=957729

    Fixed in 0.10

     
  • Ben Summers
    Ben Summers
    2006-02-23

    • status: open --> closed-fixed