Menu

#5 C++ fails to compile!

open
nobody
None
5
2012-10-30
2009-03-18
Anonymous
No

1>c:\data\dis\open-dis-3.0\cpp\dis\aggregatemarking.cpp(13) : error C2143: syntax error : missing ';' before '}'

Discussion

  • Nobody/Anonymous

    This is also an issue for the following c++ files:

    AggregateMarking.cpp
    DeadReckoningParameter.cpp
    EightByteChunk.cpp
    FastEntityStatePdu.cpp
    FourByteChunk.cpp
    Marking.cpp
    OneByteChunk.cpp
    SixByteChunk.cpp
    TwoByteChunk.cpp

     
  • Nobody/Anonymous

    There are two issues. One is missing semi-colins in the constructors (initializing variables in the body), and the other is a missing header file (string.h). strncpy is called without including a header file to support it.

     
MongoDB Logo MongoDB