August 24, 2023 General » Re: No need for version expression is a lie | |||
|---|---|---|---|
| |||
...patterns-arguably-harmful-for-porting ) C's ifdef is a big mess. D's version... | |||
August 23, 2023 General » Re: No need for version expression is a lie | |||
|---|---|---|---|
| |||
...more specific? I'm curious. C's #ifdef is not better in any way, and... | |||
August 22, 2023 General » Re: No need for version expression is a lie | |||
|---|---|---|---|
| |||
There are multiple problems with the #ifdef algebra. The prohibition against boolean expressions in version... | |||
August 21, 2023 General » Re: No need for version expression is a lie | |||
|---|---|---|---|
| |||
...professional C .h files to conclude that #ifdef algebra is the worst solution. This includes... | |||
June 05, 2023 Issues » [Issue 4071] Missing support to share memory and objects between DLLs and executable | |||
|---|---|---|---|
| |||
...errors++;
}
@@ -216,7 +216,7 @@
*/
void halt()
{
-#ifdef DEBUG
+#if 0 //def DEBUG
*(char*)0... | |||
May 22, 2023 General » Re: Good examples of version() algebra in real code | |||
|---|---|---|---|
| |||
...Also maybe Hipreme's idea avoids the #ifdef hell problem (abondance of names and double... | |||
May 22, 2023 General » Re: Good examples of version() algebra in real code | |||
|---|---|---|---|
| |||
...t really the hell that causes the `#ifdef` hell as you said. The problem are... | |||
May 22, 2023 General » Re: Good examples of version() algebra in real code | |||
|---|---|---|---|
| |||
...there because a very common failure of #ifdef hell is to have defaults that botch... | |||
May 22, 2023 General » Re: Good examples of version() algebra in real code | |||
|---|---|---|---|
| |||
...been re-acquainted with #ifdef hell. I used to write #ifdef hell myself. It's... | |||
May 21, 2023 General » Good examples of version() algebra in real code | |||
|---|---|---|---|
| |||
...operators `! || &&`, in order to avoid C's `#ifdef` hell. This is a controversial design decision... | |||
Copyright © 1999-2021 by the D Language Foundation