I've been unable to get this to happen, though I'm on a 4.9 compiler. I think we had a few others try to validate it here with the 4.6.* branch compilers, but I am not sure what could have caused that.
The 'bad-get' issues are because we are trying to unpack data from a 'variant', and are attempting to extract it as a different data type than is in the variant. If you could debug and see what the 'which' is on the variant, as well as what we are attempting to pull it out as, it would go a long way to debugging it. Thanks, Erich On Mon, 2015-08-10 at 14:37 +0000, Lankswert, Patrick wrote: > Jay, > > Did you find the root cause of the exception under gcc 4.6.4? > > There are multiple issues here that I am concerned about. First, is there an > issue in the code that the compiler is uncovering. If so, we should fix the > code. If this is a bug in the compiler, which is rare, we should avoid that > version of the compiler and make a strong and detailed statement in the > release notes. If there is a problem in the boost libraries, we need to move > and stay with the most stable and widely supported version. > > In all cases, you are absolutely right, we should be clear to cover our > understanding of the recommended and supported gcc versions. Unfortunately, > we cannot be exhaustive in our validation of builds based on all of the gcc > version, it takes too much time. > > The high cost of validation and cross platform support is why changing the > versions of the compiler and tool chain requires commitment from the majority > of the community. > > BTW, it is good to see you on the boards. > > Pat > > > -----Original Message----- > > From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev- > > bounces at lists.iotivity.org] On Behalf Of ??? > > Sent: Monday, August 10, 2015 6:21 AM > > To: iotivity-dev at lists.iotivity.org > > Subject: [dev] Is there any guideline for GCC version? > > > > Hi all, > > > > I have a question on the GCC version for building the IoTivity. > > I found that the "simpleServer/Client" built with gcc 4.6.4 crashes with > > this > > message .... > > > > ================================================================= > > terminate called after throwing an instance of > > 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_inject > > or<boost::bad_get> >' > > what(): boost::bad_get: failed value get using boost::get > > ================================================================= > > > > However, ths simpleServer/Client does not crash if I build them with gcc > > version > > 4.6.3. > > > > The guideline for the linux build in the IoTivity Web site mentioned only > > gcc 4.6.1 > > not the others. > > I just want to ask whether there's a guideline for vaild GCC version for > > building > > the Iotivity Stack. > > > > I think this is very important issue for the IoTivity Users. :) > > > > Thank you. > > Jay. > > > > > > > > > > Jung-hyun Oh. > > SW R&D Center | SAMSUNG ELECTRONICS CO.,LTD > > +82-10-9890-6731 | Beyond your imagination, Always > > _______________________________________________ > > iotivity-dev mailing list > > iotivity-dev at lists.iotivity.org > > https://lists.iotivity.org/mailman/listinfo/iotivity-dev > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev