-Wno-invalid-offsetof (C++ and Objective-C++ only)The restrictions on `offsetof' may be relaxed in a future version of the C++ standard.
本文讨论了在C++和Objective-C++中使用`offsetof`宏时,针对非POD类型的警告处理。遵循1998年ISO C++标准,直接应用`offsetof`到非POD类型是未定义的行为。然而,在现有实现中,这种方法往往能产生有意义的结果。文章旨在为有意忽略此类警告的用户提供指导。
-Wno-invalid-offsetof (C++ and Objective-C++ only)The restrictions on `offsetof' may be relaxed in a future version of the C++ standard.
659
417

被折叠的 条评论
为什么被折叠?
