Crash when using sizeof in array size
[Thread Prev] | [Thread Next]
- Subject: Crash when using sizeof in array size
- From: Ryan Gonzalez <rymg19@xxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Sun, 30 Jul 2017 20:10:32 -0500
- To: myrddin-dev <myrddin-dev@xxxxxxxxxxxxxx>
const f = {
var buf: byte[sizeof(int)]
}
gives:
6m: typeinfo.c:288: size_t tysize(Type *): Assertion `exprop(t->asize)
== Olit' failed.
--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
http://refi64.com/
| Re: Crash when using sizeof in array size | Ori Bernstein <ori@xxxxxxxxxxxxxx> |
- Prev by Date: Re: Question: has anyone worked on code for sockets?
- Next by Date: Re: Question: has anyone worked on code for sockets?
- Previous by thread: Re: Question: has anyone worked on code for sockets?
- Next by thread: Re: Crash when using sizeof in array size
- Index(es):