While trying some modifications in the delay/offset calculation I noticed including both "tlv.h" and <math.h> results in a conflict in the DOMAIN macro. Should we fix that?
cc -Wall -DVER=1.4-00061-gd95b9f9-dirty -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_ONESTEP_SYNC -c -o clock.o clock.c In file included from msg.h:29:0, from transport.h:27, from config.h:26, from clock.h:25, from bmc.h:23, from clock.c:27: tlv.h:62:0: warning: "DOMAIN" redefined [enabled by default] #define DOMAIN 0x2007 ^ In file included from clock.c:24:0: /usr/include/math.h:345:0: note: this is the location of the previous definition # define DOMAIN 1 ^ -- Miroslav Lichvar ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel