This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001501] New: Fix warnings about type-punned pointers inbsd_tcpip code.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001501

           Summary: Fix warnings about type-punned pointers in bsd_tcpip
                    code.
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: low
         Component: TCP/IP
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: grant.b.edwards@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1601)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1601)
Patch that modifies CFLAGS to fix compiler warnings about type-punned pointers.

Using newer versions of gcc (4.6) results in a lot of warnings about
dereferencing type-punned pointers in bsd_tcpip code (in ipv6
support).  Adding the -fno-strict-aliasing to CFLAGS fixes those
warnings.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]