From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 9A4A8786FA for ; Thu, 7 Aug 2014 03:31:37 -0700 (PDT) Received: by mail-we0-f169.google.com with SMTP id u56so3958097wes.28 for ; Thu, 07 Aug 2014 03:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=XXQYhMlqvN+VDOQ9QGudpWaeNVCGHDp1BatNBD8hSF0=; b=ZDwJ6EfErqUZ2MPJCru10zlcdPwiJUglvMEWsYRohViHdzAizrAGoK1BCus9+l6PKt go7o44GF/BmY2gGzJVbibFBX/pyaERKMfG+JBl/zxA8cpeE3X1671seXvFIDCPaQJEwP udmJVDGwUmCUt/wGiMDKOIXJtoq+XvQg3OZcUUc9qzzhpLwZ1IhfewcRUKO/L3+ODnel NEYVlH5jerp8/q0v2MimfeAqerKShwsBD3i8PdYP7U95CfgEKMh7M33BI4upNQ/afOkZ lEGOAREra/Ga6uzW0ArDVdHMpPRh38c6y6h/Tc7fH3k6AyDR/INZxDssAowStH7LfMNM eUXA== X-Received: by 10.194.174.66 with SMTP id bq2mr23593960wjc.96.1407407445764; Thu, 07 Aug 2014 03:30:45 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id ek3sm8946108wjd.17.2014.08.07.03.30.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 07 Aug 2014 03:30:44 -0700 (PDT) Date: Thu, 7 Aug 2014 11:30:36 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20140807103036.GA2499@toaster.adamthompson.me.uk> References: <20140706164544.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20140706164544.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] Using C99? X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2014 10:31:38 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 06, 2014 at 04:45:44PM -0400, Karl Dahlke wrote: > I would very much like to port edbrowse to windows someday, > and so would like the option of compiling under visual studio. Perhaps, though as ms aren't updating C support any more I'm not sure about the idea of targeting vs. At the end of the day mingw or sigwin are probably better targets for Windows porting in my opinion. > Yes the bool type would be especially nice since we do use it for the cpp files, > and using eb_bool for the c files is a bit of a workaround that I don't especially like. > Some of your other changes would be nice as well. > Maybe you can do a little research and see which ones > we can make while preserving a reasonable amount of portability, > including, someday, the option of a windows port. I'd say we first need to decide whether we want to target newer c compilers on Windows or stick to the microsoft visual studio compiler. As you've probably gathered from the previous part of this email, I'd personally rather target modern, updated compilers on the basis that compiling for Windows will already require installing all sorts of custom libraries which may or may not play nicely with visual studio. In particular, I think the ability to use C99 and asprintf (which isn't standard but is available in various environments) outweigh a Windows port which is still a way off from being worked on. As for the move to C++, I think if we allow ourselves to use the extensions provided by C99 and other common non-standard extensions (e.g. asprintf), we can get many of the benefits of such a move without the massive rewrite. > Someone once ported this to mac, thus the makefile.osx, > but that was a long time ago and nobody has kept up with it. > makefile.osx is I'm sure out of date by now. That's a good point, I'll have a look into this as I've got an up-to-date mac system at home. Perhaps I may even be able to put together a homebrew package as well, but first I need to work out if smjs will compile and is packaged for this to happen. On the subject of releases, what's the status of the release currently? Cheers, Adam. --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT41VMAAoJELZ22lNQBzHOKNwIAM2NPe4lQAXdasg1VqzAJPXK UkyqR4QxPL/tKzFvbN2lu70uZB2kXcsr9tcYmR4atS3WvXKcV97+NeEPoHNvvCls axiqBYikk2Lyfzitcu2kVxDE77assJVR37R0YNxgbzmmfdDcPVeNPSdZjQu+qent y/5X8spfZb8BwdOd7lj8Xcr1M/8eMl428q/cnwKXkCjv4FJOZKdnuJ9/2FicD3lb mhR0NBdRzc5+G3cNlHUDruocspaBiqps0phwdEyH68OFDoyKJMK8L+JZNhKASC4d irO2It74hVOSv/5JD/29kRluuqX50vCuq8t2WdEcWqJChECNLRKuSdJo62g4zDA= =VsQ4 -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--