Thanks was running the pre-processor should of added /CXX pre-processor got 0 

Btw would you know what version of C++ this is compatible with is it C++ 20 

I uploaded my Windows code a lot of things that I thought were ANSI I know find 
out are windows specific like BOOL

Thanks again    

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
David Crayford
Sent: Monday, January 23, 2023 7:20 AM
To: [email protected]
Subject: Re: XL C++ compiler error message map template not included due to 
compiler version

Looks like your invoking the C compiler not C++. 

> On 23 Jan 2023, at 11:15, Joseph Reichman <[email protected]> wrote:
> 
> Hi
> 
> 
> 
> I got this error when trying to include <map> template
> 
> 
> 
> 
> 
> // map standard header                                                    
> 
> 
> 
> 
> 
> #    error     This file to be used only with IBM z/OS C++ V1R2 and lat\  
> 
> er compilers                                                              
> 
> 
> 
> I running z/os 2.5 ADCD B version seems that XL C\C++ V2R4
> 
> 
> 
> 
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to