This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.
Matt D md123 at nycap.rr.com-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/11/2013 01:27 PM, Matt D wrote: > If this is the case what can be done? > > On 12/09/2013 06:19 PM, Steve Glass wrote: >> Sorry for the late reply on this but I fear you are returning a >> reference to a variable that's on the stack (and hence >> out-of-scope by the time control returns from the call). The bit >> pattern maybe there in memory but you are making an illegal >> access. > >> Lets see the code snippet for the function and we can help. > OK, so the problem has got to be that I put the type 'bit_vector' in front of the 'decoded_lcw_vec' in the .cc file. But if I don't put the type there I get a compile error, which is the reason I put the type there in the first place. If I use an array and declare it private in the .h then the program works and i get error corrected values in the UI. should i just stick with this or is there some reason I should be using the bit_vector type? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) Comment: MacGPG2 - http://www.gpgtools.org/macgpg2.html Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSqM7nAAoJECrdp7MWSIVb2CsH/0AXaauAW8OJCueVNUcioJxB 5S7VX/OGC8w5Cz+yIsyipEj3J4sg9KLQklPiCKCPC+qbq9kgKacqOIJ/stvUC4Sp cPoKb8+rj9+yYIBPRKay9o5/ooczmo8w1ElFyknpSBuev3MKonzO9sZENcqOH2lf CU0s7ReYvuBSBM73XEQlsnNJ0bU2jtm1ZLMb0YkS4mXKcoeSm11eZky8g33rridc tOJR/fTici/zKXdOPowawvjitcAm/WJELyEMF7YBbD8VOMFbrU8klFDMGvaSLH/Q oDKE4wJ5rH6spvECKCn8M957q5pnYM9/JYk//WzDifcbaeipuI3+O/khClDOzfY= =drtZ -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20131211/d7704619/attachment.htm>