January 12, 2023 Issues » [Issue 23619] ImportC: Doesn't work with flecs.h | |||
|---|---|---|---|
| |||
...by the use of ecs_assert macro, which uses assert internally. Currently ImportC fails to... | |||
January 12, 2023 Issues » [Issue 23509] ImportC: Unable to parse GLibC assert.h's assert (and other nontrivial macros?) | |||
|---|---|---|---|
| |||
...assert:
# define assert(expr) \
((void) sizeof ((expr) ? 1 : 0), __extension__ ({ \
if (expr) \
; /* empty */ \
else \
__assert... | |||
January 11, 2023 General » Re: phobos's circle CI runs a busted version of DMD | |||
|---|---|---|---|
| |||
...int i = 0x8000_0000;
assert(i >> 31 == 0xffff_ffff); // sign extended
assert(i >>> 31 == 0x0000... | |||
January 11, 2023 General » Re: phobos's circle CI runs a busted version of DMD | |||
|---|---|---|---|
| |||
...error because >>> should be used instead of >>
```d
u >>>= 1U;
assert( u == 64 );
```
SDB@79 | |||
January 11, 2023 Issues » [Issue 23517] dmd with -g flag fails to link on macOS 13.0.1 (i368) with unaligned pointer | |||
|---|---|---|---|
| |||
...14790 "fix Issue 23218 - cgxmm.d:1373 assert fail" mentioning this issue: - ci: Update cirrus... | |||
January 11, 2023 Issues » [Issue 19946] In betterC filling an array with a non-zero value fails for types of size > 1 due to missing _memset16/_memset32/etc. | |||
|---|---|---|---|
| |||
...14790 "fix Issue 23218 - cgxmm.d:1373 assert fail" mentioning this issue: - handle byte, short... | |||
January 11, 2023 Learn » Re: enum functions | |||
|---|---|---|---|
| |||
...Testing ", type);
static foreach (func; functions) {
static assert (is (typeof(func(type.init)) == type));
}
}
}
It... | |||
January 11, 2023 Issues » [Issue 23618] New: Right Shift equals expressions on unsigned shorts don't behave the same as regular shifts | |||
|---|---|---|---|
| |||
...ushort ee = tru;
ee <<= 5U;
ee >>= 5U;
assert(((tru << 5U) >> 5U) == ee);
}
Seems similar to... | |||
January 10, 2023 Issues » [Issue 23617] New: traits(child) compile error need this for something that doesn't need this | |||
|---|---|---|---|
| |||
...auto opDispatch(string name, T ...)(T t) {
assert(currentIndex < arrayOfS.length);
alias member = __traits(getMember... | |||
January 10, 2023 General » Re: What should happen when the assert message expression throws? | |||
|---|---|---|---|
| |||
...this could be simplified to ``` throw new Exception(assert(0)); ``` Or... ``` assert(false, assert(false)); ``` | |||
Copyright © 1999-2021 by the D Language Foundation