public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001506] New: Fix compiler warnings about unused 'rc' variables.
@ 2012-03-02 17:37 bugzilla-daemon
  2012-03-03  4:14 ` [Bug 1001506] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-03-02 17:37 UTC (permalink / raw)
  To: ecos-bugs

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

           Summary: Fix compiler warnings about unused 'rc' variables.
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: C library
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: grant.b.edwards@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


In abort() and exit() the 'rc' variable is set but unrefernced unless
either asserts or tracing is enabled.  This patch marks those 'rc'
variables with the CYGBLD_ATTRIB_UNUSED attribute so the compiler
won't warn us about them being set but unreferenced.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1001506] Fix compiler warnings about unused 'rc' variables.
  2012-03-02 17:37 [Bug 1001506] New: Fix compiler warnings about unused 'rc' variables bugzilla-daemon
@ 2012-03-03  4:14 ` bugzilla-daemon
  2012-03-06 18:59 ` bugzilla-daemon
  2012-03-06 19:02 ` bugzilla-daemon
  2 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-03-03  4:14 UTC (permalink / raw)
  To: ecos-bugs

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

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jifl@ecoscentric.com

--- Comment #1 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-03 04:13:36 GMT ---
No patch attached, but if it matches your description, that's trivial and, so,
fine - please check it in.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1001506] Fix compiler warnings about unused 'rc' variables.
  2012-03-02 17:37 [Bug 1001506] New: Fix compiler warnings about unused 'rc' variables bugzilla-daemon
  2012-03-03  4:14 ` [Bug 1001506] " bugzilla-daemon
@ 2012-03-06 18:59 ` bugzilla-daemon
  2012-03-06 19:02 ` bugzilla-daemon
  2 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-03-06 18:59 UTC (permalink / raw)
  To: ecos-bugs

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

--- Comment #2 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-06 18:59:15 GMT ---
Created an attachment (id=1616)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1616)
Patch to fix compiler warnings about set-but-unreferenced variables.

Here's the original patch that I didn't get attached.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1001506] Fix compiler warnings about unused 'rc' variables.
  2012-03-02 17:37 [Bug 1001506] New: Fix compiler warnings about unused 'rc' variables bugzilla-daemon
  2012-03-03  4:14 ` [Bug 1001506] " bugzilla-daemon
  2012-03-06 18:59 ` bugzilla-daemon
@ 2012-03-06 19:02 ` bugzilla-daemon
  2 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-03-06 19:02 UTC (permalink / raw)
  To: ecos-bugs

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

Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NEXTRELEASE

--- Comment #3 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-06 19:02:22 GMT ---
Committed:

/cvs/ecos/ecos/packages/language/c/libc/startup/current/ChangeLog,v  <-- 
ChangeLog
new revision: 1.13; previous revision: 1.12

/cvs/ecos/ecos/packages/language/c/libc/startup/current/src/abort.cxx,v  <-- 
abort.cxx
new revision: 1.5; previous revision: 1.4

/cvs/ecos/ecos/packages/language/c/libc/startup/current/src/exit.cxx,v  <-- 
exit.cxx
new revision: 1.5; previous revision: 1.4

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1001506] Fix compiler warnings about unused 'rc' variables.
  2012-03-02 17:37 [Bug 1001506] New: " bugzilla-daemon
  2012-03-03  4:13 ` [Bug 1001506] " bugzilla-daemon
  2012-03-06 18:59 ` bugzilla-daemon
@ 2012-03-06 19:02 ` bugzilla-daemon
  2 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-03-06 19:02 UTC (permalink / raw)
  To: unassigned

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

Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NEXTRELEASE

--- Comment #3 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-06 19:02:22 GMT ---
Committed:

/cvs/ecos/ecos/packages/language/c/libc/startup/current/ChangeLog,v  <-- 
ChangeLog
new revision: 1.13; previous revision: 1.12

/cvs/ecos/ecos/packages/language/c/libc/startup/current/src/abort.cxx,v  <-- 
abort.cxx
new revision: 1.5; previous revision: 1.4

/cvs/ecos/ecos/packages/language/c/libc/startup/current/src/exit.cxx,v  <-- 
exit.cxx
new revision: 1.5; previous revision: 1.4

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1001506] Fix compiler warnings about unused 'rc' variables.
  2012-03-02 17:37 [Bug 1001506] New: " bugzilla-daemon
  2012-03-03  4:13 ` [Bug 1001506] " bugzilla-daemon
@ 2012-03-06 18:59 ` bugzilla-daemon
  2012-03-06 19:02 ` bugzilla-daemon
  2 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-03-06 18:59 UTC (permalink / raw)
  To: unassigned

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

--- Comment #2 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-06 18:59:15 GMT ---
Created an attachment (id=1616)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1616)
Patch to fix compiler warnings about set-but-unreferenced variables.

Here's the original patch that I didn't get attached.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1001506] Fix compiler warnings about unused 'rc' variables.
  2012-03-02 17:37 [Bug 1001506] New: " bugzilla-daemon
@ 2012-03-03  4:13 ` bugzilla-daemon
  2012-03-06 18:59 ` bugzilla-daemon
  2012-03-06 19:02 ` bugzilla-daemon
  2 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-03-03  4:13 UTC (permalink / raw)
  To: unassigned

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

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jifl@ecoscentric.com

--- Comment #1 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-03 04:13:36 GMT ---
No patch attached, but if it matches your description, that's trivial and, so,
fine - please check it in.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-06 19:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-02 17:37 [Bug 1001506] New: Fix compiler warnings about unused 'rc' variables bugzilla-daemon
2012-03-03  4:14 ` [Bug 1001506] " bugzilla-daemon
2012-03-06 18:59 ` bugzilla-daemon
2012-03-06 19:02 ` bugzilla-daemon
  -- strict thread matches above, loose matches on Subject: below --
2012-03-02 17:37 [Bug 1001506] New: " bugzilla-daemon
2012-03-03  4:13 ` [Bug 1001506] " bugzilla-daemon
2012-03-06 18:59 ` bugzilla-daemon
2012-03-06 19:02 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).