I compile with JCL. Everyone laughs at me here if I say that, so I avoid 
mentioning it. <g>

Here are the compile options that I tested this with.

   OPT(0) NOINLINE   TEST                                                       
 
   TARG(LE,zOSV1R13)                                                            
 
   ARCH(9) TUNE(10)                                                             
 
   GONUMBER                                                                     
 
   NOTEMPL,OE,OBJ,HALT(8),LONGNAME                                     
   LANGLVL(NEWEXCP,UCS,DOLLARINNAMES)                                           
 
   RTTI                                                                         
 
   ENUMSIZ(INT)                                                                 
 
   AGGRCOPY HGPR LIBANSI                                                        
 
   ANSIALIAS UNROLL(YES)                                                        
 
   ROCONST                                                                      
 
   SUPP(CCN5802)                                                                
 
   DLL(CBA)                                                                     
 

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jerry Callen
Sent: Monday, April 9, 2018 10:09 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Any C++ regex template class gotchas?

Works for me, using exactly the code posted, so it looks like something 
peculiar to your maintenance level. I'd open a PMR.

make -k CHARSET=ebcdic
xlC -Wc,phaseid -qebcdic -q64 -qnocse -qgonum -qbitfield=signed 
-qtarget=zosv2r2 -qarch=10 -qstrict \  -qfloat=ieee:nomaf -qlanglvl=extended0x 
-O2  -DNDEBUG -D__MV17195__ -D_XOPEN_SOURCE=600  -o test1 test1.cpp
CCN0000(I) Product(5650-ZOS) Phase(CCNEOPTP) Level(D171026.Z2R2)
CCN0000(I) Product(5650-ZOS) Phase(CCNDRVR ) Level(D171026.Z2R2)
CCN0000(I) Product(5650-ZOS) Phase(CCNEPP  ) Level(D171026.Z2R2)
CCN0000(I) Product(5650-ZOS) Phase(CCNETBY ) Level(D171026.Z2R2)
CCN0000(I) Product(5650-ZOS) Phase(CCNECWI ) Level(D171026.Z2R2)
./test1
RegEx test 4/6/2018


FWIW, it's a good idea to post the compile and link lines along with the source 
code, as they can dramatically affect the outcome. Good luck!

----------------------------------------------------------------------
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