We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check_compile_time(sizeof(ICMPHeader) == 8); check_compile_time(offsetof(ICMPHeader, type) == 0); check_compile_time(offsetof(ICMPHeader, code) == 1); check_compile_time(offsetof(ICMPHeader, checksum) == 2); check_compile_time(offsetof(ICMPHeader, identifier) == 4); check_compile_time(offsetof(ICMPHeader, sequenceNumber) == 6);
这几行一直报错,是什么原因?
The text was updated successfully, but these errors were encountered:
@FrankChung1121 修改 check_compile_time 替换为 __Check_Compile_Time
check_compile_time
__Check_Compile_Time
Sorry, something went wrong.
@FrankChung1121 修改为: __Check_Compile_Time(sizeof(ICMPHeader) == 8); __Check_Compile_Time(offsetof(ICMPHeader, type) == 0); __Check_Compile_Time(offsetof(ICMPHeader, code) == 1); __Check_Compile_Time(offsetof(ICMPHeader, checksum) == 2); __Check_Compile_Time(offsetof(ICMPHeader, identifier) == 4); __Check_Compile_Time(offsetof(ICMPHeader, sequenceNumber) == 6);
No branches or pull requests
check_compile_time(sizeof(ICMPHeader) == 8);
check_compile_time(offsetof(ICMPHeader, type) == 0);
check_compile_time(offsetof(ICMPHeader, code) == 1);
check_compile_time(offsetof(ICMPHeader, checksum) == 2);
check_compile_time(offsetof(ICMPHeader, identifier) == 4);
check_compile_time(offsetof(ICMPHeader, sequenceNumber) == 6);
这几行一直报错,是什么原因?
The text was updated successfully, but these errors were encountered: