lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)
Date: Mon, 17 May 2010 05:47:07 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Follow-up Comment #49, bug #27352 (project lwip):

Re comment #47:

I understand why the compiler warns and actually we are using the double cast
including void-pointers to silence the compiler's warnings where we know our
own alignment macros ensure correctness. However, I just don't understand why
there is no warning in the packed struct case.

Re comment #48:
My bad, I keep forgetting that. I shouldn't write code that way here, it's
kind of hard to read... ;-)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27352>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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