ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Formal Review: The Spirit Parser Framework
by Daryle Walker other posts by this author
Oct 21 2002 7:18AM messages near this date
[PMX:#] [boost] mojo II | Re: [boost] Formal Review: The Spirit Parser Framework
On Tuesday, October 15, 2002, at 12:49 AM, Joel de Guzman wrote:

>  ----- Original Message -----
>  From: "Carl Daniel" <cpdaniel@[...].net>
[SNIP]
> > #if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
> > #define SPIRIT_TYPENAME
> > #else
> > #define SPIRIT_TYPENAME typename
> > #endif
> >
> > Appears in a number of files - perhaps it should be replaced with a 
> > common
> > mechanism rather than repeating it in each & every file where it's 
> > used.
> 
>  At the end of the file, there's an #undef. This localizes the
>  macro to the specific file rather than make it global. It would be
>  trivial to do as you suggested though. Thoughts?
[TRUNCATE]

I think that there is a Boost.Config macro that does the same thing.  
Could you just use that?

Daryle

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Daryle Walker
Martin Wille
Joel de Guzman

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved