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
Re: [boost] [typeof] native support in intel and como
by Daniel James other posts by this author
Sep 29 2005 12:08PM messages near this date
[boost] [typeof] native support in intel and como | Re: [boost] [typeof] native support in intel and como
SOURCE Arkadiy Vertleyb wrote:
>  Can anybody familiar with these compilers explain what needs to be done in
>  order to be able to use the "typeof" keyword with them?  From looking on the
>  web, I got the impression that they have to support it, but my attempts to
>  setup the tests fail with "typeof" undefined (I tried __typeof__ before
>  this).

On Intel Linux 9.0 __typeof__ seems to always work - even for 'icpc 
-cxxlib-icc -strict-ansi -no-gnu-keywords'. So, if __linux__ is defined 
it should be okay. I have no idea if they added typeof to windows.

I don't have access Comeau, but looking at:

http://www.comeaucomputing.com/4.3.0/minor/linux/compat.html#gnucppcompat

it seems that if __GNUG__ is defined then 'typeof' will work. Comeau 
online doesn't accept the --g++ switch so I couldn't test that.

Daniel

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Arkadiy Vertleyb
Daniel James
Pavel Vozenilek

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