Re: [chrony-dev] [GIT] chrony/chrony.git branch, master, updated. 2.2.1-90-g7cc432f

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Many compiler warnings from this patch on OS X



gcc -O2 -g -Wmissing-prototypes -Wall -pthread  -c pktlength.c
pktlength.c:58:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551584
      to 65504 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(online, null),               /* ONLINE */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:59:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551584
      to 65504 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(offline, null),              /* OFFLINE */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:60:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551576
      to 65496 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(burst, null),                /* BURST */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:61:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(modify_minpoll, null),       /* MODIFY_MINPOLL */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:62:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(modify_maxpoll, null),       /* MODIFY_MAXPOLL */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:64:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(modify_maxdelay, null),      /* MODIFY_MAXDELAY */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:65:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(modify_maxdelayratio, null), /* MODIFY_MAXDELAYRATIO */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:67:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551612
      to 65532 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(logon, null),                /* LOGON */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:74:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* ALLOW */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:75:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* ALLOWALL */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:76:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* DENY */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:77:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* DENYALL */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:78:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* CMDALLOW */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:79:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* CMDALLOWALL */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:80:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* CMDDENY */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:81:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(allow_deny, null),           /* CMDDENYALL */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:82:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551604
      to 65524 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(ac_check, null),             /* ACCHECK */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:83:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551604
      to 65524 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(ac_check, null),             /* CMDACCHECK */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:84:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551572
      to 65492 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(ntp_source, null),           /* ADD_SERVER */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:85:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551572
      to 65492 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(ntp_source, null),           /* ADD_PEER */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:86:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551604
      to 65524 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(del_source, null),           /* DEL_SOURCE */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:103:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(modify_minstratum, null),    /* MODIFY_MINSTRATUM */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:104:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(modify_polltarget, null),    /* MODIFY_POLLTARGET */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pktlength.c:105:3: warning: implicit conversion from 'unsigned long' to
      'uint16_t' (aka 'unsigned short') changes value from 18446744073709551600
      to 65520 [-Wconstant-conversion]
  REQ_LENGTH_ENTRY(modify_maxdelaydevratio, null), /* MODIFY_MAXDELAYDEVRATIO */
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:44:5: note: expanded from macro 'REQ_LENGTH_ENTRY'
    PADDING_LENGTH(data.request_data_field.EOR, data.reply_data_field.EOR) }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:40:3: note: expanded from macro 'PADDING_LENGTH'
  PADDING_LENGTH_(offsetof(CMD_Request, request_data), offsetof(CMD_Reply, reply_data))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pktlength.c:37:55: note: expanded from macro 'PADDING_LENGTH_'
  ((request_length) < (reply_length) ? (reply_length) - (request_length) : 0)
                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
24 warnings generated.



> On 23/01/2016, at 5:43 AM, git@xxxxxxxxxxxxx wrote:
> 
> This is an automated email from git. It was enerated because a ref
> change was pushed to the repository "chrony/chrony.git".
> 
> The branch, master has been updated
>       via  7cc432ff7ed7e6a5eed2faf2e74125e5824380ad (commit)
>       via  0a9d75bfb87d31f8ff287955df89ed10294c5cd2 (commit)
>       via  070f2706b7dd6a324472c443f4a24dfcb34d1be7 (commit)
>       via  9b019a03e7952c039d1db1ca35511d230b079645 (commit)
>       via  f52a7386607880f623d1573be529c852d841d954 (commit)
>      from  b80df5152ac9642174d338ec454392a1360e60f4 (commit)
> 
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
> 
> - Log -----------------------------------------------------------------
> commit 7cc432ff7ed7e6a5eed2faf2e74125e5824380ad
> Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Date:   Tue Jan 19 16:53:28 2016 +0100
> 
>    cmdmon: extend initialisation tests
> 
> commit 0a9d75bfb87d31f8ff287955df89ed10294c5cd2
> Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Date:   Tue Jan 19 16:52:52 2016 +0100
> 
>    pktlength: rework code to use tables
> 
> commit 070f2706b7dd6a324472c443f4a24dfcb34d1be7
> Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Date:   Mon Jan 18 17:13:26 2016 +0100
> 
>    client: add serverstats command
> 
> commit 9b019a03e7952c039d1db1ca35511d230b079645
> Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Date:   Mon Jan 18 17:09:36 2016 +0100
> 
>    cmdmon: add serverstats command
> 
>    Add a new command to obtain a server report with the new clientlog
>    statistics.
> 
> commit f52a7386607880f623d1573be529c852d841d954
> Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Date:   Mon Jan 18 17:08:23 2016 +0100
> 
>    clientlog: count total number of hits and drops
> 
>    Count total number of NTP and command hits. Count also number of log
>    records that were replaced when the hash table couldn't be resized due
>    to the memory limit.
> 
> -----------------------------------------------------------------------
> 
> Summary of changes:
> candm.h        |   16 ++-
> chrony.texi.in |   19 +++
> client.c       |   27 ++++
> clientlog.c    |   26 ++++
> clientlog.h    |    1 +
> cmdmon.c       |   36 ++++-
> pktlength.c    |  417 +++++++++++++++++---------------------------------------
> reports.h      |    8 ++
> 8 files changed, 254 insertions(+), 296 deletions(-)
> 
> 
> hooks/post-receive
> --
> chrony/chrony.git
> 
> -- 
> To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
> For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
> Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.
> 

Bryan Christianson
bryan@xxxxxxxxxxxxx




--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/