<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/libjson/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/libjson/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/libjson/bugs/</id><updated>2013-04-28T16:07:33Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>unreachable code in JSONValidator::isValidObject</title><link href="https://sourceforge.net/p/libjson/bugs/76/" rel="alternate"/><published>2013-04-28T16:07:33Z</published><updated>2013-04-28T16:07:33Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net548429fbd308dfc23d0a53f34bc3a314d4bd580e</id><summary type="html">&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;</summary></entry><entry><title>sx4ip3  &lt;a href="http://wwczxqwgltky.com/"&gt;wwczxqwgltky&lt;/a&gt;,</title><link href="https://sourceforge.net/p/libjson/bugs/75/" rel="alternate"/><published>2013-04-16T19:55:12Z</published><updated>2013-04-16T19:55:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete6347b998cdd2f90c73692520ed032df393b35c1</id><summary type="html">&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;</summary></entry><entry><title>qbwvPG  &lt;a href="http://phmjstabreeb.com/"&gt;phmjstabreeb&lt;/a&gt;,</title><link href="https://sourceforge.net/p/libjson/bugs/74/" rel="alternate"/><published>2013-04-16T06:24:22Z</published><updated>2013-04-16T06:24:22Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf8171209f14fa40ca15f4eca4cc3b7ed97bf3bb5</id><summary type="html">&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;</summary></entry><entry><title>UUKHiV  &lt;a href="http://nikqfabggohw.com/"&gt;nikqfabggohw&lt;/a&gt;,</title><link href="https://sourceforge.net/p/libjson/bugs/73/" rel="alternate"/><published>2013-04-15T20:43:58Z</published><updated>2013-04-15T20:43:58Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netc59599f2c3fae3a5b3f10e9224f4dc8b6aaf1cf0</id><summary type="html">&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;</summary></entry><entry><title>8dDvli  &lt;a href="http://wivhqvdouxmw.com/"&gt;wivhqvdouxmw&lt;/a&gt;,</title><link href="https://sourceforge.net/p/libjson/bugs/72/" rel="alternate"/><published>2013-04-15T05:49:26Z</published><updated>2013-04-15T05:49:26Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net712635886c0bdbaa1e9fb998a14cde0eaa504109</id><summary type="html">&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;</summary></entry><entry><title>evGwSx  &lt;a href="http://ovnlhutouovn.com/"&gt;ovnlhutouovn&lt;/a&gt;,</title><link href="https://sourceforge.net/p/libjson/bugs/71/" rel="alternate"/><published>2013-04-14T10:12:47Z</published><updated>2013-04-14T10:12:47Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd26571ebb5f1b97fc482aa5cc8ecb75e638d15df</id><summary type="html">&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;</summary></entry><entry><title>undefened reference errors</title><link href="https://sourceforge.net/p/libjson/bugs/70/" rel="alternate"/><published>2013-04-04T02:07:42Z</published><updated>2013-04-04T02:07:42Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net3ecfe3eaa5cb4b63ba4736eed514f9967755123f</id><summary type="html">&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;</summary></entry><entry><title>4Eyyu4  &lt;a href="http://oeiemesluaxl.com/"&gt;oeiemesluaxl&lt;/a&gt;,</title><link href="https://sourceforge.net/p/libjson/bugs/69/" rel="alternate"/><published>2013-02-13T10:51:35Z</published><updated>2013-02-13T10:51:35Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net0aa1a2545b19580112053e7fedd30b8fe8c8a79c</id><summary type="html">&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;</summary></entry><entry><title>VvONBI  &lt;a href="http://dpikpdkqhmal.com/"&gt;dpikpdkqhmal&lt;/a&gt;,</title><link href="https://sourceforge.net/p/libjson/bugs/68/" rel="alternate"/><published>2013-02-12T13:24:22Z</published><updated>2013-02-12T13:24:22Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net13159ff7a6f2eab78cd956919e53045c9142a0bb</id><summary type="html">&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;</summary></entry><entry><title>64 bit numbers are not input correctly</title><link href="https://sourceforge.net/p/libjson/bugs/67/" rel="alternate"/><published>2012-11-28T03:12:54Z</published><updated>2012-11-28T03:12:54Z</updated><author><name>Allan Miller</name><uri>https://sourceforge.net/u/allanamiller/</uri></author><id>https://sourceforge.netc241a5a3559dcaac3f181a4e74dd0f91fd0a206d</id><summary type="html">&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;</summary></entry></feed>