This is the mail archive of the ecos-patches@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 1001951] New: ConfigTool - Patch to resolve miscellaneous warnings


Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001951

            Bug ID: 1001951
           Summary: ConfigTool - Patch to resolve miscellaneous warnings
           Product: eCos
           Version: CVS
            Target: All
  Architecture/Host HostOS: Win XP/7
                OS:
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: low
         Component: Patches and contributions
          Assignee: unassigned@bugs.ecos.sourceware.org
          Reporter: andy@xylanta.com
                CC: ecos-patches@ecos.sourceware.org

Created attachment 2462
  --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2462&action=edit
Patch to resolve miscellaneous warnings

This patch resolves a number of warnings when ConfigTool is built using gcc 4.8
and -Wall. Tested on Windows but should apply to all platforms.

The patch addresses the following warnings:

1. Long data being passed to printf as a %d (2 instances)
2. Switch statements that don't cover all possible values (2 instances)
3. A multi-line comment
4. An unused static function


This follows on from the patch in 1001950.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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