[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> are porting an application from Windows to Linux. The native code is
> in VC++.
> We're getting the following error in g++ for the code given below...
> 
> the code in vc++ is :
> 
> #include <list>
> 
> 146     map<int,int> op;
> 147     op.insert(pair<int,int<(CNodeTransformer::OPTIMIZATION_TYPE,
> optType));

I don't think so. This won't compile in vc++ either. Note two '<' in
pair<int,int<.

Please always provide a complete but minimal example and cut&paste it.
Do not re-type.

Andre'

PS: I'd use something like

  #include <map>
  ...
  op[CNodeTransformer::OPTIMIZATION_TYPE] = optType; 

for the piece of code in question.
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to