-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: 15 July 2014 15:48 To: boost@lists.boost.org Subject: Re: [boost] [clang] Using clang in Windows
On 7/15/2014 5:01 AM, Paul A. Bristow wrote:
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: 14 July 2014 22:08 To: boost@lists.boost.org Subject: Re: [boost] [clang] Using clang in Windows
On 7/14/2014 1:35 PM, Paul A. Bristow wrote:
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: 14 July 2014 08:06 To: boost@lists.boost.org Subject: [boost] [clang] Using clang in Windows
Just a note to everybody about using clang in Windows
Perhaps we have to wait for Microsoft to produce an (presumably) optional 'correct' pre-processor?
I recall some post about this related to one of the Boost developers talking to Herb Sutter about the non-standard VC++ preprocessor and getting a verbal promise
Microsoft would finally produce a standard conforming C++ preprocessor for VC++. But I believe that Microsoft has made similar "noises" in that direction over
<snip> that the years
and nothing has ever happened so I am not sanguine about it happening anytime soon.
This wait will not be what *you* want, of course!
What I do not want is to have to try to hack Boost PP in order to make clang targeting VC++ work. To clang's credit when I ran the Boost PP tests, which I have largely expanded, in the 'develop' branch against the clang VC++ implementation, only a single test failed due to clang emulating VC++ preprocessor bugs.
I have argued vehemently in the clang developer mailing list that, although I do now understand that clang targeting VC++ has to emulate some of VC++'s
bugs in order to compile the VC++ header files, clang targeting VC++ should otherwise be a C++ standard conforming preprocessor for all other code. This could be done pretty nicely via a pragma. But it does not seem to have made much of an impression on others there. Many clang developers/users are so happy that they can use clang in place of VC++ in the VS IDE that they cannot understand what a
Can we produce any collective Boost wish to help this to happen? preprocessor poor
C++ preprocessor VC++ is when one goes beyond fairly simple macro expansion techniques, as of course Boost PP does.
I think you may appear to the Clangers to be a 'lone' (perhaps loony? ;-) PP enthusiast. Can we produce any collective Boost wish to help this to happen? Although it is a can of worms, there must be some way to meet peoples needs, as you explain above. Paul --- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 01539 561830