|
Boost Users : |
From: Trigve Siver (trigves_at_[hidden])
Date: 2007-05-17 14:24:48
>----- Original Message ----
>From: Arkadiy Vertleyb <vertleyb_at_[hidden]>
>To: boost-users_at_[hidden]
>Sent: Thursday, May 17, 2007 8:14:21 PM
>Subject: Re: [Boost-users] fatal error C1001 with visual studio 8, boost 1.34, BOOST_AUTO() macro
>
>"Trigve Siver" <trigves_at_[hidden]> wrote
>
>>>typedef BOOST_TYPEOF(T.exec("SELECT 1")) type;
>>
>> typedef BOOST_TYPEOF(T.exec("SELECT 1")) type; // OK
>
>Now I am really confused...
>
>What about:
>
>BOOST_TYPEOF(T.exec("SELECT 1")) r = T.exec("SELECT 1");
Hi,
this one is fatal error
BOOST_TYPEOF(T.exec("SELECT 1")) r = T.exec("SELECT 1"); // fatal error
--- ------ Rebuild All started: Project: test_boost_auto, Configuration: Debug Win32 ------ Deleting intermediate and output files for project 'test_boost_auto', configuration 'Debug|Win32' Compiling... stdafx.cpp using typeof emulation Compiling... test_boost_auto.cpp d:\temp\delete\test_boost_auto\test_boost_auto.cpp(16) : fatal error C1001: An internal error has occurred in the compiler. (compiler file 'F:\SP\vctools\compiler\utc\src\P2\main.c[0x10C68EF3:0x00000008]', line 182) To work around this problem, try simplifying or changing the program near the locations listed above. Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Build log was saved at "file://d:\Temp\DELETE\test_boost_auto\Debug\BuildLog.htm" test_boost_auto - 1 error(s), 0 warning(s) ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== --- also this: --- typedef BOOST_TYPEOF(T.exec("SELECT 1")) type; // OK type rs; // fatal error --- >? > >Regards, >Arkadiy Thanks Trigve ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121
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