[oe] GCC Error

David Thomas david.thomas at microbee-systems.com
Mon Nov 14 19:06:07 UTC 2011


1) Fixing the (potential) errors in the source code

Since I pulled this from Angstrom are you saying there is a error in
the sources I need to hunt down??

On Mon, Nov 14, 2011 at 12:59 PM, McClintock Matthew-B29882
<B29882 at freescale.com> wrote:
> On Mon, Nov 14, 2011 at 12:55 PM, David Thomas
> <david.thomas at microbee-systems.com> wrote:
>> I am getting a gcc error
>>
>> cc1: error: -Werror=unused-but-set-variable: No option -Wunused-but-set-variable
>>
>> Using the Angstrom scripts I can run machine=beagleboard and complete.
>> However, machine=cm-t35 with a cm-t35.conf file throws this error.
>>
>> I am having to guess that the machine file is all that was required,
>> it seems to pich all the right arch, etc.
>>
>> I had asked on Angstrom for any CM-T35 related info to no avail...
>
> This error is on by default for the compiler for OE now. You can get
> around it by
>
> 1) Fixing the (potential) errors in the source code
> 2) Turning off the error in the build (EXTRA_CFLAGS =
> "-Wno-error=unused-but-set-variable" or something similiar)
>
> -M
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Dave Thomas
MicroBee Systems, Inc
1429 Weatherly Road, Suite G
Huntsville, AL 35803-1187
256-489-6671 (Voice)
256-426-2431 (Mobile)
256-489-6673 (FAX)
www.microbee-systems.com
"Innovative Solutions for an Embedded World"

This message is intended for the sole use of the addressee, and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If you are not the addressee you are
hereby notified that you may not use, copy, disclose, or distribute to
anyone the message or any information contained in the message. If you
have received this message in error, please immediately advise the
sender by reply email and delete this message.




More information about the Openembedded-devel mailing list