|
Boost Users : |
Subject: Re: [Boost-users] Some boost headers use Objective-C keywords
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2012-12-29 06:17:11
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
Reiche, Albert F (Albert)
Sent: Friday, December 28, 2012 5:46 PM
To: boost-users_at_[hidden]
Subject: [Boost-users] Some boost headers use Objective-C keywords
I am using boost 1.49.0. An example of this is boost\local.hpp" which includes
"boost\locale\message.hpp" which defines "id" (an Objective-C keyword) as a local variable in one of
its inline functions. This causes an issue when boost headers are included in any code that is
parsed by the Objective-C compiler and makes it impossible to include some boost headers directly in
Objective-C source files. Would be nice if you could avoid using Objective-C keywords in all public
headers.
This is unfortunate, but I suppose sensible.
Would it be useful to prepare a list of these keywords as these are likely to be unknown to most
Boost authors who have no knowledge of this non-standard-compliant compiler?
http://www.boost.org/doc/libs/1_52_0/libs/config/doc/html/boost_config/guidelines_for_boost_authors.
html
Perhaps Albert could volunteer ;-)
Paul
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net