[Proto] Compiles under 1.42 but not under 1.44
Dear all, I have a piece of code that compiles under the Proto of Boost 1.42 but doesn't compile under that of Boost 1.44! The error messages that I get under 1.44 can be found in the PS. Any idea there? TIA,--Hossein P.S. Compiling: main.cpp main.cpp: In function 'int main()': main.cpp:73:3: error: no match for 'operator>>' in 'EW1<InpPool, GameState, KillMsg>() >> plus1' main.cpp:73:3: error: template argument 1 is invalid main.cpp:73:3: error: invalid type in declaration before ';' token main.cpp:73:3: error: no match for 'operator>>' in 'EW1<InpPool, GameState, KillMsg>() >> plus1' main.cpp:73:3: error: template argument 1 is invalid main.cpp:73:3: error: invalid type in declaration before '(' token main.cpp:73:3: error: no match for 'operator>>' in 'EW1<InpPool, GameState, KillMsg>() >> plus1' main.cpp:81:14: error: request for member 'value' in 'e1', which is of non-class type 'int'
On 2/15/2011 2:02 AM, Hossein Haeri wrote:
Dear all,
I have a piece of code that compiles under the Proto of Boost 1.42 but doesn't compile under that of Boost 1.44! The error messages that I get under 1.44 can be found in the PS. Any idea there?
No clue. Please post a minimal repro and what compiler you're using. -- Eric Niebler BoostPro Computing http://www.boostpro.com
participants (2)
-
Eric Niebler
-
Hossein Haeri