X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitadel.h;h=96908accef59c37d76e56d04f73dfa27ae294cd4;hb=0c90ed3253337bfd864b4d780df4701d0cc0f2c4;hp=fea62aaa2909207792589115f9f5f2c1a0bf3114;hpb=d55aaabac6cf26ad7d256f98c4ab7c99b360b67f;p=citadel.git diff --git a/citadel/citadel.h b/citadel/citadel.h index fea62aaa2..96908acce 100644 --- a/citadel/citadel.h +++ b/citadel/citadel.h @@ -1,7 +1,7 @@ /* * Main Citadel header file * - * Copyright (c) 1987-2018 by the citadel.org team + * Copyright (c) 1987-2019 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -35,13 +35,11 @@ extern "C" { */ #define CITADEL PACKAGE_STRING -#define REV_LEVEL 917 // This version +#define REV_LEVEL 928 // This version #define REV_MIN 591 // Oldest compatible database #define EXPORT_REV_MIN 760 // Oldest compatible export files -#define LIBCITADEL_MIN 917 // Minimum required version of libcitadel - -#define SERVER_TYPE 0 // zero for stock Citadel; other developers please - // obtain SERVER_TYPE codes for your implementations +#define LIBCITADEL_MIN 922 // Minimum required version of libcitadel +#define SERVER_TYPE 0 // zero for stock Citadel; other developers please obtain SERVER_TYPE codes for your implementations #ifdef LIBCITADEL_VERSION_NUMBER #if LIBCITADEL_VERSION_NUMBER < LIBCITADEL_MIN @@ -152,7 +150,6 @@ struct ctdlroom { #define MES_ERROR (-1) // Can't send message due to bad address #define MES_LOCAL 0 // Local message, do no network processing #define MES_INTERNET 1 // Convert msg and send as Internet mail -#define MES_IGNET 2 // Process recipient and send via Cit net /****************************************************************************/ @@ -179,7 +176,7 @@ struct floor { /* number of items which may be handled by the CONF command */ #define NUM_CONFIGS 71 -#define TRACE syslog(LOG_DEBUG, "\033[31mCheckpoint: %s : %d\033[0m", __FILE__, __LINE__) +#define TRACE syslog(LOG_DEBUG, "\033[7m Checkpoint: %s : %d \033[0m", __FILE__, __LINE__) #ifndef LONG_MAX #define LONG_MAX 2147483647L @@ -197,4 +194,9 @@ struct floor { } #endif +#if __GNUC__ >= 8 +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-truncation" +#endif + #endif /* CITADEL_H */