These are chat archives for alaif/log4d

1st
Oct 2014
Jonas Fiala
@alaif
Oct 01 2014 21:56
Hi Kevin, I was thinking if something went wrong with latest log4d as either once I want compile my program using log4d or run the demonstration inside of log4d I am getting the following error:
alaif@mcf:~/src/lib/log4d$ dub --config=demo --force logger: ["logger"] log4d: ["log4d", "logger"] Building logger configuration "library", build type debug. Running dmd... ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(174): Error: user defined attributes cannot appear as postfixes ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(175): Error: semicolon expected following function declaration ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(178): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(184): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(188): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(192): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(196): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(200): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(204): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(206): Error: Declaration expected, not 'return' ../../../.dub/packages/logger-0.3.0/std/experimental/logger/core.d(208): Error: unrecognized declaration ../../../.dub/packages/logger-0.3.0/std/experimental/logger/nulllogger.d(26): Error: user defined attributes cannot appear as postfixes ../../../.dub/packages/logger-0.3.0/std/experimental/logger/nulllogger.d(27): Error: semicolon expected following function declaration ../../../.dub/packages/logger-0.3.0/std/experimental/logger/nulllogger.d(28): Error: unrecognized declaration FAIL ../../../.dub/packages/logger-0.3.0/.dub/build/library-debug-linux.posix-x86-dmd-2C4D887136018555E4BF01441C27EC59 logger staticLibrary Error executing command run: DMD compile run failed with exit code 1
Jonas Fiala
@alaif
Oct 01 2014 22:20
Oh, okay. Never mind. I had to upgrade on bleeding-edge DMD 2.0.67b1 as std/experimental/logger.d seems to rely on that. At least in version being used by log4d.
Problem solved :)