Subj : Re: bug To : Andrew Clarke From : Ben Ritchey Date : Wed Jul 11 2018 12:28:39 * An ongoing debate between andrew clarke and Ben Ritchey rages on ... BR>> If I try to build Golded+ (github.com 2018-07-10 Download) with BR>> MSVC6 I get compile error 2 on line 129 of gdirposx.cpp. If I BR>> revert this code back to the last source backup I have for BR>> Golded+ (sf.net CVS) as "long" vice "intptr_t" at BR>> the beginning of line 129, it works all the way thru with no BR>> obvious problems reading or writing live messages with the BR>> resultant binary GedWin.Exe. BR>> I assume that there is probably more to this error than meets the BR>> eye, so I will wait for clarification before I distribute BR>> anything. :) ac> intptr_t was introduced with the C99 standard which MSVC6 didn't ac> support. ac> And at some point since MSVC6 was released, Microsoft changed the ac> return value of _findfirst() from long to intptr_t. ac> At the start of gdirposx.cpp you could add something like: ac> #if _MSC_VER <= 1200 ac> typedef long intptr_t; ac> #endif ac> Where 1200 is the internal version number for the C/C++ compiler ac> provided with MSVC6. Thank you kindly :) I will add your code in soonest! .-- Keep the faith, -------------------------------------------------. | | | Ben aka cMech Web: http|ftp|binkp|telnet://cmech.dynip.com | | Email: fido4cmech(at)lusfiber.net | | Home page: http://cmech.dynip.com/homepage/ | | | `-------- WildCat! BBS 24/7 +1-337-984-4794 any BAUD 8,N,1 -------' .... Anything, if wrapped in bacon, is delicious! --- GoldED+/W32-MSVC v1.1.5-c20180708-b20180708 + Mystic BBS v1.12 A39 * Origin: FIDONet - The Positronium Repository (1:393/68) .