Head does not build Ada for RTEMS

Joel Sherrill joel.sherrill@oarcorp.com
Thu Sep 30 02:36:00 GMT 2010


  Hi,

This is because RTEMS does not have some of the errno's
and they get turned into -1.  And then the Ada compiler
complains that there are multiples with -1.

g-socket.adb:1902:25: warning: condition is always False
g-socket.adb:1902:25: warning: (see test at line 1900)

OK to commit?

2010-09-28  Joel Sherrill <joel.sherrill@oarcorp.com>

     * g-socket.adb: Move pragma to disable warnings in case
     multiple errnos are not defined by target.

-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-ada-gsocket.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100930/8320c4d9/attachment.ksh>


More information about the Gcc-patches mailing list