[Bug 1922] multiple definition of `_Scheduler_CBS_Server_list'

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Sep 23 07:57:53 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1922

Ralf Corsepius <ralf.corsepius at rtems.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf.corsepius at rtems.org

--- Comment #2 from Ralf Corsepius <ralf.corsepius at rtems.org> 2011-09-23 02:57:52 CDT ---
(In reply to comment #1)
> Please avoid definitions of global variables in header files.

Are we talking about definitions or declarations?

Definitions of globals in headers are reasons for a lot of issues, and can be
considered bad coding style, but declarations of globals in headers are almost
mandatory (rsp. conversely, undeclared globals are poor style).

Besides this, there is a large group of programmers, who considers any global
variable to be bad coding style, which should be avoided whenever possible.
[I am member of this group]

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list