T.R | Title | User | Personal Name | Date | Lines |
---|
2156.1 | | DECCXL::ZEEB | Jeff Zeeb | Mon Apr 21 1997 10:37 | 9 |
| If you compile with /LIST/DICTIONARY I would expect you to get
%DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement
\DICTIONARY\
as none of our C compiler support a /DICTIONARY qualifier. Try
/LIST/SHOW=DICTIONARY instead.
Jeff
|
2156.2 | | JAMSIE::CORBETT | | Mon Apr 21 1997 10:54 | 11 |
| I just reported it wrongly. The full CC command is
cc/list/show=dictionary/nomemberalign/nodebug/opt/standard=vaxc/object=
on ALPHA and
the same on VAX.
Neither gives me a list of the CDD.
Daniel
|
2156.3 | | DECCXL::ZEEB | Jeff Zeeb | Mon Apr 21 1997 14:33 | 29 |
| It works for me. Here is an extract from the listing file
generated using /LIST/SHOW=DICT
2 #dictionary "C_TEST.GREAT_BRITAIN.SEVEN" null_terminate name(first)
D1 3 /* CDD Path Name is "C_TEST.GREAT_BRITAIN.SEVEN" */
D1 4 struct first
D1 5 {
D1 6 variant_union
D1 7 {
D1 8 char week [8]; /* null terminated
text */
D1 9 struct
D1 10 {
D1 11 char monday [2]; /* null terminated
text */
D1 12 char tuesday [2]; /* null terminated
text */
D1 13 char wednesday [2]; /* null terminated
text */
D1 14 char thursday [2]; /* null terminated
text */
D1 15 char friday [2]; /* null terminated
text */
D1 16 char weekend [3]; /* null terminated
text */
D1 17 } days;
D1 18 } cc_cdd$_unnamed_1;
D1 19 };
|
2156.4 | | JAMSIE::CORBETT | | Wed Apr 23 1997 06:05 | 31 |
| Hi Jeff
When I read DICTIONARY I expect at the end of the compilation listing
a complete definition of all symbols defined in the source module.
Below is a segment of code showing also the command, but no list of defined symbols.
What do I need to do to obtain the list of symbols and their definitions?
12887
12888 period *NextPeriod(in_file *in_file_ptr)
12889 {
12890 period *period_ptr;
12891
12892 period_ptr = (period *) g_data_ptr->current_period_ptr;
12893 if((g_data_ptr->number_of_files > 1) || (in_file_ptr->no_periods > 0))
12894 period_ptr++;
12895 g_data_ptr->current_period_ptr = (period *) period_ptr;
12896 return(period_ptr);
12897 }
Command Line
------- ----
CC/LIST/SHOW=DICTIONARY/NOMEMBERALIGN/DEBUG/NOOPT/STANDARD=VAXC/OBJECT=OVMS$EXE:
ELOG.DBJ OVMS$SOURCE:ELOG.C
|
2156.5 | | DECCXL::ZEEB | Jeff Zeeb | Wed Apr 23 1997 14:49 | 17 |
| >When I read DICTIONARY I expect at the end of the compilation listing
>a complete definition of all symbols defined in the source module.
That is different from what you asked for in .0:
>When I compile with /LIST/DICTIONARY I expect
>to obtain the listing of the common data dictionary
>in the .LIS file. Why do I not get it??
The Common Data Dictionary is a layered product, so that term has a
specific meaning to us.
It sounds like what you really want it the equivalent of /SHOW=SYMBOLS
from the VAX C compiler. That functionality is not available from DEC C.
Notes 1039 and 1563 in this conference contain similar requests.
Jeff
|