On 01/09/18 06:11, Thiago Macieira wrote: > On Tuesday, 9 January 2018 05:28:48 PST Nikita Kiryanov wrote: >> Hi all, >> >> I just downloaded the latest iotivity release by git cloning it, and I'm >> trying to run a build. > > Usually, when one builds with -Werror with a compiler no one has tried > before, > that person becomes responsible for patch that fixes the issues not seen > before. > >> I'm invoking the build by simply running `scons` in the root directory. >> I'm building on Ubuntu 17.10. My compiler is gcc 7.2.0. >> >> Are there some build settings I need to set up for it to build correctly? > > Unfortunately, the problem here is that -Werror was enabled for you. It > should > not have been. That's a mistake in IoTivity. > > -Werror should only be enabled for project developers. >
please use ERROR_ON_WARN=false on the build line to turn off the fails. I didn't think this had been enabled for 1.3, I know there was a push to make this default in master (which is more oriented to "project developers"). _______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
