help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to resolve this one


From: Lionel B
Subject: Re: how to resolve this one
Date: Wed, 18 May 2005 08:49:48 +0100

<kushal.mnit@gmail.com> wrote in message 
1116392035.557507.195060@g43g2000cwa.googlegroups.com">news:1116392035.557507.195060@g43g2000cwa.googlegroups.com...
> 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));

This definitely looks wrong... maybe try:

op.insert(pair<int,int>(CNodeTransformer::OPTIMIZATION_TYPE,optType));

-- 
Lionel B



reply via email to

[Prev in Thread] Current Thread [Next in Thread]