Precompilation error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pjr

    Precompilation error

    Hi..

    I am trying to compile a set of code using aCC 3.52(HP-UX
    11.00) and visibroker 3.3. I am running into following error.

    I appreciate any ideas that can help me resolve this error.


    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
    '>>' has not been defined yet; cannot call.
    _strm >*_obj;
    ^^^^^^^^^^
    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
    '>>' has not been defined yet; cannot call.
    _strm >*_obj;
    ^^^^^^^^^^
    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
    '>>' has not been defined yet; cannot call.
    _strm >*_obj;
    ^^^^^^^^^^

    Thanks
  • anon

    #2
    Re: Precompilation error

    pjr wrote:
    Hi..
    >
    I am trying to compile a set of code using aCC 3.52(HP-UX
    11.00) and visibroker 3.3. I am running into following error.
    >
    I appreciate any ideas that can help me resolve this error.
    >
    >
    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
    '>>' has not been defined yet; cannot call.
    _strm >*_obj;
    ^^^^^^^^^^
    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
    '>>' has not been defined yet; cannot call.
    _strm >*_obj;
    ^^^^^^^^^^
    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
    '>>' has not been defined yet; cannot call.
    _strm >*_obj;
    ^^^^^^^^^^
    >
    Thanks
    LOL @ 10000 lines file.

    Take a look here:

    Comment

    • Lionel B

      #3
      Re: Precompilation error

      On Mon, 03 Nov 2008 21:06:46 -0800, pjr wrote:
      Hi..
      >
      I am trying to compile a set of code using aCC 3.52(HP-UX
      11.00) and visibroker 3.3. I am running into following error.
      >
      I appreciate any ideas that can help me resolve this error.
      This may help:


      Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
      '>>' has not been defined yet; cannot call.
      _strm >*_obj;
      It seems likely that the compiler is telling you exactly what the problem
      is, but it is impossible to say for sure without seeing any code.

      BTW, what does "precompilation " mean?
      ^^^^^^^^^^
      Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
      '>>' has not been defined yet; cannot call.
      _strm >*_obj;
      ^^^^^^^^^^
      Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
      '>>' has not been defined yet; cannot call.
      _strm >*_obj;
      ^^^^^^^^^^
      >
      Thanks
      --
      Lionel B

      Comment

      • pjr

        #4
        Re: compilation error

        On Nov 4, 3:25 am, anon <a...@no.invali dwrote:
        pjr wrote:
        Hi..
        >
               I am trying to compile a set of code using  aCC 3.52(HP-UX
        11.00)  and visibroker 3.3.   I am running into following error.
        >
                 I appreciate any ideas that can help me resolve thiserror.
        >
        Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
        '>>' has not been defined yet; cannot call.
                _strm >*_obj;
                ^^^^^^^^^^
        Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
        '>>' has not been defined yet; cannot call.
                _strm >*_obj;
                ^^^^^^^^^^
        Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
        '>>' has not been defined yet; cannot call.
                _strm >*_obj;
                ^^^^^^^^^^
        >
                Thanks
        >
        LOL @ 10000 lines file.
        >
        Take a look here:http://www.parashift.com/c++-faq-lit...t.html#faq-5.8


        The file /usr/local/vbroker/include/ir_c.hh is part of visibroker.
        Here is the code excerpt from this file

        //
        =============== =============== =============== =============== =============== ===========
        _VISEXPORT inline friend Istream& operator>>(Istr eam& _strm,
        Description_ptr & _obj) {
        _obj = new Description;
        _strm >*_obj; // Line number 6795
        return _strm;
        }


        _VISEXPORT inline friend Istream& operator>>(Istr eam& _strm,
        Description_ptr & _obj) {
        _obj = new Description;
        _strm >*_obj; // Line 7365
        return _strm;
        }



        _VISEXPORT inline friend Istream& operator>>(Istr eam& _strm,
        FullInterfaceDe scription_ptr & _obj) {
        _obj = new FullInterfaceDe scription;
        _strm >*_obj; // Line 10097
        return _strm;
        }
        //
        =============== =============== =============== =============== =============== ===========

        OS - HP-UX 11.00
        aCC compiler - 3.52
        Visibroker - 3.3

        Note: The compilation with aCC compiler 3.13 works fine. But I
        have to make it work with 3.52 because of other software dependencies.

        Lionel,

        I should have made it compilation error. It was late at
        night when I posted this :)

        Comment

        • anon

          #5
          Re: compilation error

          pjr wrote:
          On Nov 4, 3:25 am, anon <a...@no.invali dwrote:
          >pjr wrote:
          >>Hi..
          >> I am trying to compile a set of code using aCC 3.52(HP-UX
          >>11.00) and visibroker 3.3. I am running into following error.
          >> I appreciate any ideas that can help me resolve this error.
          >>Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
          >>'>>' has not been defined yet; cannot call.
          >> _strm >*_obj;
          >> ^^^^^^^^^^
          >>Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
          >>'>>' has not been defined yet; cannot call.
          >> _strm >*_obj;
          >> ^^^^^^^^^^
          >>Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
          >>'>>' has not been defined yet; cannot call.
          >> _strm >*_obj;
          >> ^^^^^^^^^^
          >> Thanks
          >LOL @ 10000 lines file.
          >>
          >Take a look here:http://www.parashift.com/c++-faq-lit...t.html#faq-5.8
          >
          >
          >
          The file /usr/local/vbroker/include/ir_c.hh is part of visibroker.
          Here is the code excerpt from this file
          >
          //
          [...]
          >
          _VISEXPORT inline friend Istream& operator>>(Istr eam& _strm,
          FullInterfaceDe scription_ptr & _obj) {
          _obj = new FullInterfaceDe scription;
          _strm >*_obj; // Line 10097
          return _strm;
          }
          Assuming:
          1) #define _VISEXPORT
          2) typedef FullInterfaceDe scription* FullInterfaceDe scription_ptr;

          what is Istream?

          Comment

          Working...