From: Nelson, E. - 2 <eri...@ba...> - 2010-06-03 17:23:21
|
Fernando Pelliccioni wrote: > It is not a bug. The following code compiles well on MSVC 9 (Visual Studio 2008) > You just have to include <ciso646> It is a bug- 'and', 'not', etc. are reserved words in C++, and MSVC9 is nonconformant when it #defines them as preprocessor macros. It cause troubles lots of places, not just here. Here's a link that discusses it further. http://books.google.com/books?id=Q4iP1mkfdtsC&pg=PT398&lpg=PT398&dq=ciso 646&source=bl&ots=wYn89ESX6p&sig=YJ9ZKxHVhGctK3_ruaAEuHYnRnM&hl=en&ei=q- MHTLCWGYWclgesspWADw&sa=X&oi=book_result&ct=result&resnum=8&ved=0CDoQ6AE wBw#v=onepage&q=ciso646&f=false Erik |