[dorkbotpdx-blabber] Re: 5x5 matrix code help

Laen james.neal at gmail.com
Sat Mar 7 20:32:59 EST 2009


This looks like an issue I saw with another package a few days ago..

Right after including the Matrix.h, do this:
#undef int
#undef float
#undef double
#undef abs
#undef round

-Laen

On Mar 7, 1:56 pm, "Greg Grunest" <g... at grunest.com> wrote:
> Michael,
>
> Sorry to take so long, I sent off the email with questions yesterday morning
> and had to head out for what turned out to be the rest of the day yesterday.
>
> I am using Arduino-0013 and I get similar errors but not as many.
>
> In file included from C:\Program
> Files\arduino-0013\hardware\cores\arduino/WProgram.h:4,
>
> c:/program
> files/arduino-0013/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111
> : error: expected unqualified-id before 'int'
>
> c:/program
> files/arduino-0013/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111
> : error: expected `)' before 'int'
>
> c:/program
> files/arduino-0013/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111
> : error: expected `)' before 'int'
>
> In file included from C:\Program
> Files\arduino-0013\hardware\cores\arduino/WProgram.h:6,
>
> I'm curious what your stdlib.h file looks like.  Mostly curious about what
> line 80 and 144 look like and if they are the same as mine in 0013.  Maybe
> you could e-mail it to me off-list.


More information about the dorkbotpdx-blabber mailing list