lwip-devel
[Top][All Lists]
Advanced

[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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]