lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5846] struct sockaddr_in has different alignment th


From: Jonathan Larmour
Subject: [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr
Date: Sat, 07 Apr 2007 03:26:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060513 Fedora/1.0.8-1.1.fc3.1.legacy Firefox/1.0.8

Follow-up Comment #5, patch #5846 (project lwip):

So you're building with -Wcast-align. That's your problem. lwIP is doing
nothing wrong at all, and I would be against slowing done lwIP to pacify some
warning about something that isn't a problem.

I believe in general that GCC has a principle that -Wall contains warnings
that should not trigger for valid code, unless that valid code can be
adjusted without a speed penalty. Other warnings may be different, and
-Wcast-align is in that category.



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5846>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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