<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 145: ]wxJSON v1.2.1] Windows Build Errors</title><link href="https://sourceforge.net/p/wxcode/bugs/145/" rel="alternate"/><link href="https://sourceforge.net/p/wxcode/bugs/145/feed.atom" rel="self"/><id>https://sourceforge.net/p/wxcode/bugs/145/</id><updated>2012-08-17T00:35:29Z</updated><subtitle>Recent changes to 145: ]wxJSON v1.2.1] Windows Build Errors</subtitle><entry><title>]wxJSON v1.2.1] Windows Build Errors</title><link href="https://sourceforge.net/p/wxcode/bugs/145/" rel="alternate"/><published>2012-08-17T00:35:29Z</published><updated>2012-08-17T00:35:29Z</updated><author><name>DustinB</name><uri>https://sourceforge.net/u/dustb/</uri></author><id>https://sourceforge.netfe2614e8134e932555c010f437b316590c0565f8</id><summary type="html">&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;</summary></entry></feed>