cannot use boost asio 1.43 with visual studio 2008
Hello, I tried using boost 1.43 with my project and am having a problem compiling using the asio libraries. There is a namespace 'generic' and my VS (2008 and 2010) doesn't allow that word. I am guessing it is a keyword in visual studio? Is there a way I can disable the use of the 'generic' keyword? In my editor, the word generic is colored just like the 'namespace', '#define' and '#include' , 'if', 'else', 'for',... etc. brooke -- View this message in context: http://boost.2283326.n4.nabble.com/cannot-use-boost-asio-1-43-with-visual-st... Sent from the Boost - Users mailing list archive at Nabble.com.
I mean *1.54!!* -- View this message in context: http://boost.2283326.n4.nabble.com/cannot-use-boost-asio-1-43-with-visual-st... Sent from the Boost - Users mailing list archive at Nabble.com.
On Wed, Aug 7, 2013 at 7:49 AM, Antony Polukhin
2013/8/6 bnsteel
I mean *1.54!!*
Please explain in more details. At least show the error messages.
This was already solved in original thread titled "cannot use boost asio 1.43 with visual studio 2008" The OP mistakenly had CLR enabled. John
I tried using boost 1.43 with my project and am having a problem compiling using the asio libraries.
What errors do you see?
There is a namespace 'generic' and my VS (2008 and 2010) doesn't allow that word. I am guessing it is a keyword in visual studio?
It's not a keyword in c++. Perhaps you use some MS-specific language, like C++/CLI?
Igor,
I think you were correct. I noticed that "Common Language Runtime
support" was selected by default, and when I unchecked it (for a different
reason) I find that 1.54 now works!!
Thank you,
Brooke
On Tue, Aug 6, 2013 at 2:00 PM, Igor R
I tried using boost 1.43 with my project and am having a problem compiling using the asio libraries.
What errors do you see?
There is a namespace 'generic' and my VS (2008 and 2010) doesn't allow that word. I am guessing it is a keyword in visual studio?
It's not a keyword in c++. Perhaps you use some MS-specific language, like C++/CLI? _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (5)
-
Antony Polukhin
-
bnsteel
-
Brooke Steele
-
Igor R
-
John Drescher