hilfe, simpler code, dummer fehler

  • das headerfile:

    source file:

    falls ich bei den includes ein struct include, das ich erstellt habe, scheitert das ganze.


    #include TcsPtcDetectorStruct verursacht einen fehler!

    In file included from GtGuiHardwareModel.h:11,
    from GtGuiHardwareModel.cc:8:
    TcsPtcDetectorStruct.h:17: syntax
    error before `;' token
    In file included from /usr/include/c++/3.2.3/bits/stl_algobase.h:75,
    from /usr/include/c++/3.2.3/bits/stl_tree.h:86,
    from /usr/include/c++/3.2.3/map:66,
    from GtGuiHardwareModel.h:12,
    from GtGuiHardwareModel.cc:8:
    /usr/include/c++/3.2.3/bits/stl_iterator.h:647: syntax error before `&' token
    /usr/include/c++/3.2.3/bits/stl_iterator.h:649: `bool
    __gnu_cxx::operator==(...)' must have an argument of class or enumerated
    type
    /usr/include/c++/3.2.3/bits/stl_iterator.h:649: `bool
    __gnu_cxx::operator==(...)' must take exactly two arguments
    /usr/include/c++/3.2.3/bits/stl_iterator.h:653: syntax error before `&' token
    /usr/include/c++/3.2.3/bits/stl_iterator.h:655: `bool
    __gnu_cxx::operator==(...)' must have an argument of class or enumerated
    type
    /usr/include/c++/3.2.3/bits/stl_iterator.h:655: `bool
    __gnu_cxx::operator==(...)' must take exactly two arguments
    /usr/include/c++/3.2.3/bits/stl_iterator.h:659: syntax error before `&' token
    /usr/include/c++/3.2.3/bits/stl_iterator.h:661: `bool
    __gnu_cxx::operator!=(...)' must have an argument of class or enumerated
    type
    /usr/include/c++/3.2.3/bits/stl_iterator.h:661: `bool
    ...
    ..
    .

    woran scheitert es!?!!?!?

    bitte um hilfeee!

    lg,
    KITT

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!