Tests broken...

Hal Murray hmurray at megapathdsl.net
Wed Nov 25 20:24:34 UTC 2015


[175/204] Compiling tests/libntp/a_md5encrypt.c
../tests/libntp/a_md5encrypt.c:30:25: error: initializer element is not constant
 const int totalLength = packetLength + keyIdLength + digestLength;

I can't figure out what's going on.  It looks reasonable to me.

  const int packetLength = 16;
  const int keyIdLength = 4;
  const int digestLength = 16;
  const int totalLength = packetLength + keyIdLength + digestLength;

In case it matters, that's from a Fedora 22 system.
  gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list