----- Original Message ----- From: "Mats Wichmann" <[email protected]> To: [email protected] Sent: Tuesday, January 9, 2018 4:50:10 PM Subject: Re: [dev] Multiple build errors
> 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"). That did the trick. I actually am on the master branch (1.3.1-464-g8abab72c8 to be exact) since I git cloned it, but I get the same error if I checkout the latest release tag. _______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev _______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
