Search

April 20, 2021
Learn »
Could it be because __MODULE__ is string, requiring mixin? The following prints 'true':

enum i...
April 20, 2021
Learn »
mw covered this. There's more documentation here: https://dlang.org/spec/version.html#version...
April 20, 2021
Learn »
On Tuesday, 20 April 2021 at 18:57:46 UTC, ichneumwn wrote:


https://dub.pm...
April 20, 2021
Learn »
...the header provides the relevant definitions, through #ifdef, and do a further run-time check...
December 29, 2020
Learn »
...delete;
	~Mutex();

	void enter();
	void exit();

private:
	#ifdef _WIN32
		u8 data[8];
	#else
		pthread_mutex...
June 04, 2020
General »
...DEFINE_INLINE  int PopCountFewClr(uint64_t w)
{
#ifdef __POPCNT__
  return __builtin_popcountll(w);
#else
  return...
March 21, 2020
Learn »
...If you modify code not in an ifdef you can still cause bugs that only...
March 20, 2020
Learn »
...on the other platforms sharing the same #ifdef block, and while you should be testing...
December 10, 2019
Learn »
...PRODUCTVERSION 2,0,0,1
 FILEFLAGSMASK 0x3fL
 #ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif...
October 23, 2019
General »
So, I presume we could set

ifdef ENABLE_LTO
DFLAGS += -flto=full
endif

in the...
1 2 3 4 5 6 7
Next ›   Last »