Bugs item #3558648, was opened at 2012-08-16 17:35 Message generated for change (Tracker Item Submitted) made by dustb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3558648&group_id=51305
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: wxJSON Group: last released version Status: Open Resolution: None Priority: 5 Private: No Submitted By: DustinB (dustb) Assigned to: Nobody/Anonymous (nobody) Summary: 1.2.1 on Windows Initial Comment: ### Using NMAKE ### nmake -fmakefile.vc WX_DIR=H:\path-to-wx\wxMSW-2.8.12 WX_UNICODE=1 WX_DEBUG=0 WX_SHARED=0 ..\src\jsonreader.cpp(1853) : error C2371: 'byte' : redefinition; different basic types C:\Program Files\Microsoft Visual Studio\VC98\include\rpcndr.h(172) : see declaration of 'byte' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. ### Using wxjson_vc8.sln ### error C2371: 'byte' : redefinition; different basic types 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. Thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3558648&group_id=51305 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users