1753797 Members
7387 Online
108799 Solutions
New Discussion юеВ

compilation issue

 
mcubea
New Member

compilation issue

We are using compiler aCC: HP ANSI C++ B3910B A.03.52.

We are interested to use standard library and trying to compile the application using -AA option eg aCC -AA *.cpp

With this we are getting the compilation error:
Error 328: "/opt/aCC/include_std/functional", line 167 # Function '<' has not been defined yet;
cannot call.
bool operator() (const T& x, const T& y) const { return x < y; }

Has anybody noted this issue earlier. What is the solution
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: compilation issue

That is the type of T for your template function?

The error message is trying to say that you don't have a const member operator< defined for your class T.
Dennis Handly
Acclaimed Contributor

Re: compilation issue

A better forum for this question would be languages and scripting.

Since this is your first question, have you read the following yet:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33