<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It's an array with no elements, since the subrange [0..-1] is empty.<br>
<br><div><div>On 3 Oct 2010, at 22:23, Michael Richter wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">What does an ARRAY [0..-1] OF <anything> actually look like?<br><br><div class="gmail_quote">On 3 October 2010 20:51, Jay K <span dir="ltr"><<a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
../src/Common/X.i3: In function 'X_I3':<br>
../src/Common/X.i3:4845:0: internal compiler error: in m3cg_declare_subrange, at m3cg/parse.c:3567<br>
<br>
<br>
gcc_assert (min <= max);<br>
<br>
XClientMessageEvent = RECORD<br>
type: int;<br>
serial: unsigned_long; (* # of last request processed by server *)<br>
send_event: Bool; (* true if this came from a SendEvent request *)<br>
display: DisplayStar; (* Display the event was read from *)<br>
window: Window;<br>
message_type: Atom;<br>
format: int;<br>
alignment: ARRAY [0..-1] OF long;<br>
data: ARRAY [0..MAX (20 * BYTESIZE (char),<br>
MAX (10 * BYTESIZE (short),<br>
5 * BYTESIZE (long))) - 1] OF char; END;<br>
<br>
<br>
alignment: ARRAY [0..-1] OF long;<br>
<br>
<br>
typedef struct {<br>
int type;<br>
unsigned long serial; /* # of last request processed by server */<br>
Bool send_event; /* true if this came from a SendEvent request */<br>
Display *display; /* Display the event was read from */<br>
Window window;<br>
Atom message_type;<br>
int format;<br>
union {<br>
char b[20];<br>
short s[10];<br>
long l[5];<br>
} data;<br>
} XClientMessageEvent;<br>
<br>
<br>
<br>
eh?<br>
<br>
<br>
I'll remove the assert.<br>
"Clearly"? the Modula-3 should just use an array of long though for the union?<br>
<font color="#888888"><br>
<br>
- Jay<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>"Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot."<br>
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.<br>
</blockquote></div><br></body></html>