Ok thank you. I was only familiar with #pragma once. However from your answer I conclude, that asked 14 Apr '16, 02:48 mikethebo converted 14 Apr '16, 12:14 Guy Harris ♦♦ |
One Answer:
Fields with an integral data type can be given a If we required C99, we could make a field in the However, Wireshark doesn't require C99, and C90 doesn't handle initialization of a union very well - the initializer initializes the first element of the union, with no way to initialize other members. So we just made the field a
answered 14 Apr '16, 12:21 Guy Harris ♦♦ edited 14 Apr '16, 12:22 |
Oh man thank you. I was looking for this by doing multiple full text searches in the Windows Explorer. Obviously not very reliable. This almost has the dimension of RTFM, still thank you for you complete answer.