Compilation of beta 39 failed for frame-x.c on Digital UNIX V4.0C on a
500au personal workstation running X11R6 with Motif, CDE.
I tried compiling with both cc and gcc and got similar results. I have
made no attempt to find the problem at this time but will do so if
time permits.
Here is the error printout from gcc 2.7.2.3:
gcc -c -O2 -g -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -D_BSD
-I/usr/dt/include frame-x.c
frame-x.c: In function `x_cde_transfer_callback':
frame-x.c:1110: parse error before `*'
frame-x.c:1113: `transferInfo' undeclared (first use this function)
frame-x.c:1113: (Each undeclared identifier is reported only once
frame-x.c:1113: for each function it appears in.)
And here is the result from cc:
cc -c -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -D_BSD
-I/usr/dt/include frame-x.c
cc: Warning: frame-x.c, line 2574: # not in column 1 is
ignored, skipping to end of line.
#ifdef HAVE_TOOLBARS
--^
cc: Warning: frame-x.c, line 2580: # not in column 1 is ignored, skipping to end of line.
#endif /* HAVE_TOOLBARS */
--^
cc: Error: frame-x.c, line 1110: In this statement,
"DtDndTransferCallbackStruct" is declared as a typedef, and so may not occur as
an expression.
DtDndTransferCallbackStruct *transferInfo =
--^
cc: Error: frame-x.c, line 1110: In this statement, "transferInfo" is not
declared.
DtDndTransferCallbackStruct *transferInfo =
-------------------------------^
cc: Warning: frame-x.c, line 1128: In this statement, the referenced type of the pointer
value "hurl" is "signed char", which is not compatible with
"const unsigned char".
l_data = Fcons ( make_string (hurl, strlen (hurl)), l_data );
---------------------------^
cc: Warning: frame-x.c, line 1147: In this statement, the referenced type of the pointer
value ""text/plain"" is "signed char", which is not
compatible with "const unsigned char".
l_data = Fcons ( list3 ( make_string ("text/plain", 10),
-----------------------------------^
cc: Warning: frame-x.c, line 1148: In this statement, the referenced type of the pointer
value ""8bit"" is "signed char", which is not compatible
with "const unsigned char".
make_string ("8bit", 4),
-----------------------------------^
(I am new to this list and, if this has been reported, sorry for
wasting your time.)
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman(a)es.net Phone: +1 510 486-8634