<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 145: ]wxJSON v1.2.1] Windows Build Errors</title><link>https://sourceforge.net/p/wxcode/bugs/145/</link><description>Recent changes to 145: ]wxJSON v1.2.1] Windows Build Errors</description><atom:link href="https://sourceforge.net/p/wxcode/bugs/145/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 17 Aug 2012 00:35:29 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wxcode/bugs/145/feed.rss" rel="self" type="application/rss+xml"/><item><title>]wxJSON v1.2.1] Windows Build Errors</title><link>https://sourceforge.net/p/wxcode/bugs/145/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;### Using NMAKE ###&lt;br /&gt;
nmake -fmakefile.vc WX_DIR=H:\path-to-wx\wxMSW-2.8.12 WX_UNICODE=1 WX_DEBUG=0 WX_SHARED=0&lt;br /&gt;
..\src\jsonreader.cpp(1853) : error C2371: 'byte' : redefinition; different basic types&lt;br /&gt;
C:\Program Files\Microsoft Visual Studio\VC98\include\rpcndr.h(172) : see declaration of 'byte'&lt;br /&gt;
NMAKE : fatal error U1077: 'cl' : return code '0x2'&lt;br /&gt;
Stop.&lt;/p&gt;
&lt;p&gt;### Using wxjson_vc8.sln ###&lt;br /&gt;
error C2371: 'byte' : redefinition; different basic types&lt;/p&gt;
&lt;p&gt;In rpcndr.h it is typedefing byte to 'unsigned char'. In jsonreader.cpp it is 'union byte { unsigned char c[2]; short int b; };'. I've also tried using wxWidgets 2.9.3, and it gives the same error (plus more), but, 2.8.12 is what I want to work with.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DustinB</dc:creator><pubDate>Fri, 17 Aug 2012 00:35:29 -0000</pubDate><guid>https://sourceforge.netfe2614e8134e932555c010f437b316590c0565f8</guid></item></channel></rss>