February 24, 2003 Bug/oversight | ||||
---|---|---|---|---|
| ||||
So casting an integer to a struct doesn't work, but it also gives an assertion (line 166 in file constfold.c) instead of an error message. This code demonstrates: struct ENTRY {} const ENTRY test = (ENTRY)0; int main (char argv[][]) { return -1; } Dan |
February 25, 2003 Re: Bug/oversight | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dan Liebgold | Thanks, I'll take care of it. -Walter |
Copyright © 1999-2021 by the D Language Foundation