Recent Breakage: PowerPC/motorola_powerpc BSPs do not compile

Joel Sherrill joel at rtems.org
Wed Jun 8 12:56:20 UTC 2016


Hi

On the master, all variants of the motorola_powerpc BSP fail with this:

../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/console/polled_io.c:
In function 'debug_putc':
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/console/polled_io.c:422:16:
error: macro "putc" requires 2 arguments, but only 1 given
   curIo->putc(c);
                ^
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/console/polled_io.c:422:8:
warning: statement with no effect [-Wunused-value]
   curIo->putc(c);
   ~~~~~^~~~~~
In file included from
../../../../../.././mcp750/lib/include/rtems/print.h:23:0,
                 from
../../../../../.././mcp750/lib/include/rtems/rtems/ratemon.h:38,
                 from ../../../../../.././mcp750/lib/include/rtems.h:54,
                 from
../../../../../.././mcp750/lib/include/bsp/default-initial-extension.h:26,
                 from ../../../../../.././mcp750/lib/include/bsp.h:11,
                 from ../../../../../.././mcp750/lib/include/libcpu/io.h:32,
                 from
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/console/polled_io.c:21:
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/console/polled_io.c:
In function 'debug_getc':
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/console/polled_io.c:436:17:
error: expected identifier before '(' token
   return curIo->getc();
                 ^
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/console/polled_io.c:437:1:
warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160608/275098cd/attachment.html>


More information about the devel mailing list