By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,948 Members | 1,196 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,948 IT Pros & Developers. It's quick & easy.

Precompilation error

P: n/a
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
Nov 4 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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
Nov 4 '08 #2

P: n/a
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:

http://www.parashift.com/c++-faq-lit...t.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?
^^^^^^^^^^
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
Nov 4 '08 #3

P: n/a
pjr
On Nov 4, 3:25*am, anon <a...@no.invalidwrote:
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>>(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 :)
Nov 4 '08 #4

P: n/a
pjr wrote:
On Nov 4, 3:25 am, anon <a...@no.invalidwrote:
>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>>(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?
Nov 5 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.