[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #7054] Clarification needed for variable initializati
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [task #7054] Clarification needed for variable initialization |
Date: |
Thu, 05 Jul 2007 07:19:49 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #10, task #7054 (project lwip):
But even like this, I think the INIT_NULL solution is not so bad, since we
only use it on "some" variables.
I'm agree it's a workaround for "broken" compilers. But I'm not sure than
even gcc is really at 100% ANSI C99 compliant (and if I read
http://gcc.gnu.org/gcc-4.2/c99status.html, I think we can tell is not). Most
of embedded compiler are provided by hardware manufacturer, and I'm not sure
that all are C99 compliant.
So, since adding this feature doesn't change the code if you define it to
"empty", I think we can help users having "broken" compilers with these
"pretty small" changes. After all, having the most portable code as possible
is one of the goal of lwIP, right?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7054>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- RE: [lwip-devel] [task #7054] Clarification needed for variableinitialization, (continued)
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- RE: [lwip-devel] [task #7054] Clarification needed for variable initialization, Goldschmidt Simon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, David Empson, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization,
Frédéric Bernon <=
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, David Empson, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Kieran Mansley, 2007/07/13
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Jonathan Larmour, 2007/07/30
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/30
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Jonathan Larmour, 2007/07/30
- RE: [lwip-devel] [task #7054] Clarification needed for variableinitialization, Bill Florac, 2007/07/30