compile error in dwmac-desc-enh.c
Joel Sherrill
joel.sherrill at oarcorp.com
Wed Aug 6 19:14:21 UTC 2014
On 8/6/2014 2:08 PM, Michael Davidsaver wrote:
> When building the latest from git://git.rtems.org/rtems.git I get some
> compile errors from implicit casting away of the volatile qualifier.
> These are also two references to __DEVOLATILE(), which doesn't appear to
> exist anymore.
>
> The attached patch makes these casts explicit, which at least compiles.
How recent is your toolset? __DEVOLATILE is defined in <sys/cdefs.h>. I
know it
wasn't defined in some of the older newlibs.
As a point of reference, my i386 toolset has this version.
$ i386-rtems4.11-gcc --version
i386-rtems4.11-gcc (GCC) 4.8.2 20131016 (RTEMS
4.11-RSB-467cace5baf226da73b0d630d46df6ad0fea99d4-1,gcc-4.8.2/newlib-2.1.0)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> Michael
>
>
> FYI
>
> $ ../configure --target=i386-rtems4.11 --enable-cxx --enable-rdbg
> --enable-rtemsbsp=pc386 --enable-networking
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list