Precompilation error

P

pjr

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
 
A

anon

pjr said:
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-lite/how-to-post.html#faq-5.8
 
L

Lionel B

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:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.8
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?
 
P

pjr




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>>(Istream& _strm,
Description_ptr & _obj) {
_obj = new Description;
_strm >> *_obj; // Line number 6795
return _strm;
}


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



_VISEXPORT inline friend Istream& operator>>(Istream& _strm,
FullInterfaceDescription_ptr & _obj) {
_obj = new FullInterfaceDescription;
_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 :)
 
A

anon

pjr said:



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>>(Istream& _strm,
FullInterfaceDescription_ptr & _obj) {
_obj = new FullInterfaceDescription;
_strm >> *_obj; // Line 10097
return _strm;
}

Assuming:
1) #define _VISEXPORT
2) typedef FullInterfaceDescription* FullInterfaceDescription_ptr;

what is Istream?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,771
Messages
2,569,587
Members
45,098
Latest member
KetoBaseReview
Top