Search

October 22, 2019
General »
...on DMD itself, from DMD's src/posix.mak:

ifdef ENABLE_LTO
CXXFLAGS  += -flto
endif
October 03, 2019
General »
...do something like this in CMake and #ifdef code that cannot be compiled without MLIR...
September 05, 2019
General »
...so I ended up with the entire `#ifdef` tree above.

I could generate `alignas(n...
August 07, 2019
General »
...see as Terra interoperate with Lua
   }
}

codeCpp {
  #ifdef SOME_MACRO
  // classes in C++ is same...
August 02, 2019
General »
...the same behavior. So you should be able to dispense with the #ifdef's completely.
July 17, 2019
General »
...could simplify to:

#ifdef __cplusplus
extern "C" {
#endif

// C declarations
void cFunc();
...

#ifdef __cplusplus
}
#endif
July 17, 2019
General »
...ifdef __cplusplus` block, and prefixing any `extern (C)` definitions with the following `EXTERNC` macro

```
#ifdef...
June 01, 2019
Learn »
...from DMD.

It is not supported.

Think #ifdef and you should get a basic understanding...
February 20, 2019
General »
...STACK_CAPACITY (sizeof(rs_heap) - 1)
    #endif

    #ifdef RS_STACK_CAPACITY
    #define RS_ALIGNMENT \
	(sizeof...
February 01, 2019
Learn »
...handle, in C it's declared as

#ifdef STRICT
typedef void *HANDLE;
#if 0 && (_MSC...
1 2 3 4 5 6 7 8
Next ›   Last »