[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] invalid use of non-lvalue array
From: |
E . Weddington |
Subject: |
Re: [avr-gcc-list] invalid use of non-lvalue array |
Date: |
Wed, 1 Oct 2003 17:32:47 GMT |
> I am trying to use avrgcc for a little bit of C++ and it
seems that the
> trusty PSTR macro isn't so trusty when using C++ giving
an error of "invalid
> use of non-lvalue array".
>
> Before I dive into it I wonder if anyone else out there
has solved this one?
If you're using C++, be sure to read the FAQ:
<http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-
user-manual/FAQ.html#faq_cplusplus>
Also, avr-gcc.exe is the C compiler. You'll want to use
avr-g++.exe which is the C++ compiler.
Eric
- Re: [avr-gcc-list] invalid use of non-lvalue array,
E . Weddington <=