Title: | DEC C Problem Reporting Forum |
Notice: | Report DEC C++ problems in TURRIS::C_PLUS_PLUS |
Moderator: | CXXC::REPETE TCHEON |
Created: | Fri Nov 13 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1299 |
Total number of notes: | 6249 |
I'm seeing an access violation when I compile some of our source. I've boiled the source down, and I'll include it in the next reply. Whether or not the source is legal or even reasonable C code, the compiler should note the failure more gracefully than this... ;-) Thanks, Webb ------------ $ cc /noobj WTFN$:[SCALES.TMP]FOO.C /list/version DEC C V5.2-003 on OpenVMS Alpha V7.1 $ cc /noobj WTFN$:[SCALES.TMP]FOO.C /list %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000000 0004, PC=000000000019A328, PS=0000001B %TRACE-F-TRACEBACK, symbolic stack dump follows image module routine line rel PC abs PC DECC$COMPILER PP_ADTS al_get_nth_actual 22184 00000000000011B8 000000000019A328 DECC$COMPILER PP_ADTS es_build_actual_frame 21359 0000000000000574 00000000001996E4 DECC$COMPILER PP_MACRO cpp_expand_macro 21086 000000000000103C 00000000001DF52C DECC$COMPILER PP_SCR cpp_screen 20790 0000000000000814 00000000001CE9C4 DECC$COMPILER PP_SCR fe_screen_parse 20570 000000000000057C 00000000001CE72C DECC$COMPILER LEX get_more_tokens 28000 00000000000014C0 000000000016E9D0 DECC$COMPILER LEX lex_advance 29272 0000000000001EF4 000000000016F404 DECC$COMPILER PARSE advance 19621 00000000000023AC 000000000018CF9C DECC$COMPILER PARSE parse_direct_declarator 21866 00000000000052F8 000000000018FEE8 DECC$COMPILER PARSE parse_declarator 21677 0000000000004E94 000000000018FA84 DECC$COMPILER PARSE parse_init_declarator_list 21455 0000000000004918 000000000018F508 DECC$COMPILER PARSE parse_external_declaration 19889 0000000000002880 000000000018D470 DECC$COMPILER PARSE parse_program 19788 00000000000025A4 000000000018D194 DECC$COMPILER FEMAST fe_master 26643 0000000000000250 0000000000155850 DECC$COMPILER COMPILE gem_xx_compile 43708 000000000000077C 000000000013077C DECC$COMPILER GEM_CP_VMS GEM_CP_MAIN 2311 00000000000014B8 0000000000217F88 0 FFFFFFFF83B090D8 FFFFFFFF83B090D8
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1273.1 | Source code (the listing file is never produced) | WTFN::SCALES | Despair is appropriate and inevitable. | Mon Mar 17 1997 16:57 | 27 |
#define OPT 3 #define trcDebugDumpV(_f,_args) trcDump _args extern int trcDump ( int ident, int self, int formats, ...); main () { trcDebugDumpV ( 0, (0, 0, #if OPT == 1 0, 0 #elif OPT == 2 0, 0 #else 0, 0 #endif )); } | |||||
1273.2 | CXXC::ZAHAREE | Linda D. Zaharee | Tue Mar 18 1997 08:04 | 8 | |
I just tried you program with a more recent compiler and it compiled fine without errors: $ cc /version decc_bugs_1273.c DEC C V5.5-002 on OpenVMS Alpha V6.2-1H3 $ cc /noobj/list decc_bugs_1273.c Linda. |