[Cobolforgcc-devel] std=MVS (was: several problem issues with 0.32
Status: Pre-Alpha
Brought to you by:
timjosling
From: Bill K. <wm...@ix...> - 2005-06-20 21:57:06
|
Just out of curiosity, what "IBM" product is "std=mvs" SUPPOSED to "match"? If it is VS COBOL II, then it should NOT treat "function" as a reserved word. If it is any LE-conforming compiler (SAA AD/Cycle COBOL/370, COBOL for "this-or-that", or Enterprise COBOL), then it SHOULD treat "function" as a reserved word (and issue a message indicating that OC is "missing support" for Intrinsic Functions supported on the (IBM) mainframe. What OO COBOL words are "reserved" (as well as what XML words) will ALSO vary depending upon which IBM compiler is being emulated. (for all the VARIOUS reserved words - much less syntax) differences, check out the Micro Focus "reserved word" dialect options of: OSVS DOSVS VSC2(2) VSC2(3) VSC2(4) COBOL370 (and I may have missed some <G>) > -----Original Message----- > From: ope...@li... > [mailto:ope...@li...] On > Behalf Of Rich Painter > Sent: Monday, June 20, 2005 4:25 PM > To: ope...@li... > Subject: [open-cobol-list] several problem issues with 0.32 > > I have several questions that may result in reporting bugs. > > 1. warning issue- running: > cobc --std=mvs -Icopy -c file.cob -o file.o > > produces the following WARNING: > file.cob: In paragraph '5050-CREATE-CBLOG': > file.cob:299: warning: 'FUNCTION' not implemented > > if this is a warning AND i have not specified any warnings to > be emitted then > why is this happening? > > 2. c output issues- running: > cobc --std=mvs -Icopy -c file2.cob -o file2.o > > produces this: > > /tmp/cobNVeQ2m.c: In function `ML001_': > /tmp/cobNVeQ2m.c:31: error: `f' undeclared (first use in this > function) > /tmp/cobNVeQ2m.c:31: error: (Each undeclared identifier is > reported only once > /tmp/cobNVeQ2m.c:31: error: for each function it appears in.) > /tmp/cobNVeQ2m.c:31: error: initializer element is not constant > /tmp/cobNVeQ2m.c:31: error: (near initialization for > `h_TSQ_FILE.record_size') > > 3. cobc segmentation fault- i get a cobc segmentation fault > compiling a > different file. is there cobc make or configure options i > can set to make > certain that the most debugging info is available in the core > dump? how do i > report this kind of error? > > thanks, > rich > -- > > +---------------------------------------------------------------+ > | Richard A. Painter, P.E. Phone 719 495 7054 | > | Painter Engineering, Inc. Mailto:pa...@ie... | > | 8470 Swan Rd. Amateur Mailto:ab...@ar... | > | Black Forest, CO 80908 LatLon: N39:1:41.1 W104:40:8.4 | > | | > | Visit our Web site: http://painter.inc | > | http://home.earthlink.net/~painterengineering | > | | > | Computer and Software Forensics | > | Systems & Software Engineering + LAN WAN Networking + X.25 | > | INTERNET TCP-IP + Real-time Transaction Processing | > | System & Software Integration, Testing, Verification & Audits | > | Web Hosting & Design + Apache + PHP + modSSL + cURL | > | Database Design & Applications + Oracle | > | Benchmarks + Course & Workshop Development & Delivery | > | Financial and Medical Software Integration + Security | > | Middleware + EDI + Cryptography + Firewalls | > | Embedded Hardware & Software Development | > | UNIX + Linux + Windows | > | | > | Those who would give up essential liberty to purchase a | > | little temporary safety, deserve neither liberty nor safety. | > | - Ben Franklin, Historical Review of Pennsylvania, 1759 | > | | > | If you think technology can solve your security problems then | > | you don't understand the problems and you don't understand | > | the technology. - Bruce Schneier | > | | > | Face it. You have no privacy! - Scott McNealy | > | | > | For a successful technology, reality must take precedence | > | over public relations, for Nature cannot be fooled. | > | - Richard P. Feynman | > | | > | The future always arrives too soon and in the wrong order! | > | - Alvin Toffler | > | | > | What is popular is not always right and what is right is not | > | always popular. - Howard Cosell | > | | > | Ned Ludd wasn't completely wrong! | > | | > | Chance favors the prepared mind! Illegitima non carborundum | > +---------------------------------------------------------------+ > > |