lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re[2]: [lwip] New CVS Tree


From: Florian Schulze
Subject: [lwip-users] Re[2]: [lwip] New CVS Tree
Date: Thu, 09 Jan 2003 00:01:52 -0000

On Sat, 19 Oct 2002 12:02:28 -0700 Scott Robinson <address@hidden> wrote:

> Can a macro be assigned that inserts this text: #include
> "begin_pack_struct.h" ??

No, in Visual C++ you can't make a macro containing a #.

> Wow, a begin_pack_struct.h and end_pack_struct.h seems really weighty.
> There
> isn't any other way? How does packing of structures work in Visual C++?

#pragma pack(push, 1)
#pragma pack(pop)

Or something quite similar, the problem is the #pragma, see above.

This was discussed earlier between me, Adam and probably some other people.
I guess this is in the mailing list archive, you should be able to find it
with begin_pack_struct.

> would you suggest placing this alongside the existing src/, proj/ and doc/
> dirs, or outside of the CVS 'lwip' module?

I think alongside the other directorys would be nice.

Florian



[This message was sent through the lwip discussion list.]




reply via email to

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