On Sunday 28 September 2008 05:47:14 Nikolay Ananiev wrote: > I'm trying to build parrot r31477 with visual studio 2008 on vista home and > i get the following error > > src\pmc\exceptionhandler.c > .\src\pmc\exceptionhandler.pmc(34) : error C2275: > 'Parrot_ExceptionHandler_attri > butes' : illegal use of this type as an expression > d:\dev\projects_out\parrot\src\pmc\pmc_exceptionhandler.h(109) : > see dec > laration of 'Parrot_ExceptionHandler_attributes'
MSVC error messages aren't very useful. The problem is that C90 forbids an expression before a variable declaration, which GCC helpfully warns about. Anyhow, I fixed this and some METHOD return problems in r31482 (the culprit was r31451). Thanks for reporting! -- c