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 <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
David Crayford
Sent: Monday, January 23, 2023 7:20 AM
To: IBM-MAIN@LISTSERV.UA.EDU
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 <reichman...@gmail.com> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to