<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/libjson/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/libjson/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 28 Apr 2013 16:07:33 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libjson/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>unreachable code in JSONValidator::isValidObject</title><link>https://sourceforge.net/p/libjson/bugs/76/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There is a problem with the function:&lt;br /&gt;
All the paths within the switch return a value ,thus exiting before getting to the while statement.&lt;br /&gt;
Also because of it the return false statement also can't be reached.&lt;br /&gt;
I marked the places below&lt;/p&gt;
&lt;p&gt;bool JSONValidator::isValidObject(const json_char * &amp;amp; ptr  DEPTH_PARAM) json_nothrow {&lt;br /&gt;
//ptr should currently be pointing past the {, so this must be the start of a name, or the closing }&lt;br /&gt;
//ptr will end up past the last }&lt;br /&gt;
do{&lt;br /&gt;
switch(*ptr){&lt;br /&gt;
case JSON_TEXT('\"'):&lt;br /&gt;
return isValidNamedObject(ptr  DEPTH_ARG(depth_param));&lt;br /&gt;
case JSON_TEXT('}'):&lt;br /&gt;
++ptr;&lt;br /&gt;
return true;&lt;br /&gt;
default:&lt;br /&gt;
return false;&lt;br /&gt;
}&lt;br /&gt;
} while (*++ptr);  &amp;lt;===========  warning C4702: unreachable code&lt;br /&gt;
return false;  &amp;lt;===========  warning C4702: unreachable code&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 28 Apr 2013 16:07:33 -0000</pubDate><guid>https://sourceforge.net548429fbd308dfc23d0a53f34bc3a314d4bd580e</guid></item><item><title>sx4ip3  &lt;a href="http://wwczxqwgltky.com/"&gt;wwczxqwgltky&lt;/a&gt;,</title><link>https://sourceforge.net/p/libjson/bugs/75/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;sx4ip3  &amp;lt;a href="http://wwczxqwgltky.com/"&amp;gt;wwczxqwgltky&amp;lt;/a&amp;gt;, [url=http://ftxlkvlgvzdp.com/]ftxlkvlgvzdp[/url], [link=http://zfnwzvmghpuf.com/]zfnwzvmghpuf[/link], &lt;a href="http://gofrkokotznq.com/" rel="nofollow"&gt;http://gofrkokotznq.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 16 Apr 2013 19:55:12 -0000</pubDate><guid>https://sourceforge.nete6347b998cdd2f90c73692520ed032df393b35c1</guid></item><item><title>qbwvPG  &lt;a href="http://phmjstabreeb.com/"&gt;phmjstabreeb&lt;/a&gt;,</title><link>https://sourceforge.net/p/libjson/bugs/74/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;qbwvPG  &amp;lt;a href="http://phmjstabreeb.com/"&amp;gt;phmjstabreeb&amp;lt;/a&amp;gt;, [url=http://bqcuiapopobv.com/]bqcuiapopobv[/url], [link=http://fytoirdvrgmp.com/]fytoirdvrgmp[/link], &lt;a href="http://dcauoowxkqdm.com/" rel="nofollow"&gt;http://dcauoowxkqdm.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 16 Apr 2013 06:24:22 -0000</pubDate><guid>https://sourceforge.netf8171209f14fa40ca15f4eca4cc3b7ed97bf3bb5</guid></item><item><title>UUKHiV  &lt;a href="http://nikqfabggohw.com/"&gt;nikqfabggohw&lt;/a&gt;,</title><link>https://sourceforge.net/p/libjson/bugs/73/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;UUKHiV  &amp;lt;a href="http://nikqfabggohw.com/"&amp;gt;nikqfabggohw&amp;lt;/a&amp;gt;, [url=http://tyckynhwhvtf.com/]tyckynhwhvtf[/url], [link=http://wtstqdtdrpfz.com/]wtstqdtdrpfz[/link], &lt;a href="http://olkrzztqzvka.com/" rel="nofollow"&gt;http://olkrzztqzvka.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 15 Apr 2013 20:43:58 -0000</pubDate><guid>https://sourceforge.netc59599f2c3fae3a5b3f10e9224f4dc8b6aaf1cf0</guid></item><item><title>8dDvli  &lt;a href="http://wivhqvdouxmw.com/"&gt;wivhqvdouxmw&lt;/a&gt;,</title><link>https://sourceforge.net/p/libjson/bugs/72/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;8dDvli  &amp;lt;a href="http://wivhqvdouxmw.com/"&amp;gt;wivhqvdouxmw&amp;lt;/a&amp;gt;, [url=http://rfmnnnwsuedj.com/]rfmnnnwsuedj[/url], [link=http://ljfxsflffzcn.com/]ljfxsflffzcn[/link], &lt;a href="http://gvtfifudnepo.com/" rel="nofollow"&gt;http://gvtfifudnepo.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 15 Apr 2013 05:49:26 -0000</pubDate><guid>https://sourceforge.net712635886c0bdbaa1e9fb998a14cde0eaa504109</guid></item><item><title>evGwSx  &lt;a href="http://ovnlhutouovn.com/"&gt;ovnlhutouovn&lt;/a&gt;,</title><link>https://sourceforge.net/p/libjson/bugs/71/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;evGwSx  &amp;lt;a href="http://ovnlhutouovn.com/"&amp;gt;ovnlhutouovn&amp;lt;/a&amp;gt;, [url=http://ceozexcqougw.com/]ceozexcqougw[/url], [link=http://mgxpjxsgeqhn.com/]mgxpjxsgeqhn[/link], &lt;a href="http://lprcepqtmywq.com/" rel="nofollow"&gt;http://lprcepqtmywq.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 14 Apr 2013 10:12:47 -0000</pubDate><guid>https://sourceforge.netd26571ebb5f1b97fc482aa5cc8ecb75e638d15df</guid></item><item><title>undefened reference errors</title><link>https://sourceforge.net/p/libjson/bugs/70/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm on 64 bit Arch Linux and I had some trouble getting the libraries to make because it was looking for the Dependencies directory in the wrong place and even installed it wrong, but once that was sorted out and I got the options set up correctly, it went fine.&lt;/p&gt;
&lt;p&gt;I am working in code::blocks in C++ and I'm including libjson.h and the .so is set up in the linker. I am using JSON_PREPARSE, JSON_MEMORY_MANAGE and ARRAY_SIZE_ON_ONE_LINE with JSON_DEPRECATED_FUNCTIONS and JSON_LIBRARY off.&lt;/p&gt;
&lt;p&gt;When I try to use "JSONNode n = libjson::parse(json);" on a valid JSON string, I get "/usr/include/libjson/libjson.h|246|undefined reference to `JSONPreparse::isValidRoot(std::string const&amp;amp;)'|"&lt;/p&gt;
&lt;p&gt;Do I need to include something else or what? Is this a conflict I'm getting from using preparse? Should I be using the lazy parsing instead? I'm only using this for config files and save files, so I prefer to parse all at once.&lt;/p&gt;
&lt;p&gt;I tried the test suite but I can't get it to make at all, it freezes at "../TestSuite2/NumberToString/isNumeric.cpp \
-Wfatal-errors -DNDEBUG -O3 -ffast-math -fexpensive-optimizations -pipe -o testapp"&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 04 Apr 2013 02:07:42 -0000</pubDate><guid>https://sourceforge.net3ecfe3eaa5cb4b63ba4736eed514f9967755123f</guid></item><item><title>4Eyyu4  &lt;a href="http://oeiemesluaxl.com/"&gt;oeiemesluaxl&lt;/a&gt;,</title><link>https://sourceforge.net/p/libjson/bugs/69/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;4Eyyu4  &amp;lt;a href="http://oeiemesluaxl.com/"&amp;gt;oeiemesluaxl&amp;lt;/a&amp;gt;, [url=http://vnmfnjdaxvgd.com/]vnmfnjdaxvgd[/url], [link=http://ucoeqesxaaez.com/]ucoeqesxaaez[/link], &lt;a href="http://oeqvxlzorglt.com/" rel="nofollow"&gt;http://oeqvxlzorglt.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 13 Feb 2013 10:51:35 -0000</pubDate><guid>https://sourceforge.net0aa1a2545b19580112053e7fedd30b8fe8c8a79c</guid></item><item><title>VvONBI  &lt;a href="http://dpikpdkqhmal.com/"&gt;dpikpdkqhmal&lt;/a&gt;,</title><link>https://sourceforge.net/p/libjson/bugs/68/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;VvONBI  &amp;lt;a href="http://dpikpdkqhmal.com/"&amp;gt;dpikpdkqhmal&amp;lt;/a&amp;gt;, [url=http://fkgwivhrhbvk.com/]fkgwivhrhbvk[/url], [link=http://fyqjvuqdambl.com/]fyqjvuqdambl[/link], &lt;a href="http://ywdkoqbvehqa.com/" rel="nofollow"&gt;http://ywdkoqbvehqa.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 12 Feb 2013 13:24:22 -0000</pubDate><guid>https://sourceforge.net13159ff7a6f2eab78cd956919e53045c9142a0bb</guid></item><item><title>64 bit numbers are not input correctly</title><link>https://sourceforge.net/p/libjson/bugs/67/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The as_int() method typecasts to 32 bits, so even though the reader reads 64-bit numbers correctly, there is no way to get them out.&lt;/p&gt;
&lt;p&gt;There is an easy fix for this, just make a copy of as_int (in both places) in JSONNode.h, rename it to as_int64, and change "json_int_t" to "long long" everywhere it occurs.&lt;/p&gt;
&lt;p&gt;Unfortunately, this isn't exactly a real solution, because FetchNumber in internalJSONNode line 223 converts every number to floating point on the way in, and then the wrappers convert them back.  So this starts to lose precision for large 64-bit integers.  However, this is probably something you want to fix anyway, since its is rather inefficient and happens to every integer on the way in.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Allan Miller</dc:creator><pubDate>Wed, 28 Nov 2012 03:12:54 -0000</pubDate><guid>https://sourceforge.netc241a5a3559dcaac3f181a4e74dd0f91fd0a206d</guid></item></channel></rss>