The question for the modification against (lib/cryptodev/rte_cryptodev.h) in commit 719834a6
Hu, Zhigang
zhigang.hu at intel.com
Thu Dec 19 11:41:13 CET 2024
Hi, experts,
My C++ program calls some functions defined in lib/cryptodev/rte_cryptodev.h. After upgrading dpdk from 23.11 to 24.11, my C++ program failed to be complied. It looks like that the cimmit 719834a6 caused my issue.
It seems that the commit 719834a6 intends to exclude all head files from the
#ifdef __cplusplus
extern "C" {
#endif
......
#ifdef __cplusplus
}
#endif
Unfortunately some function declarations are also excluded wrongly since these declarations are before the last head file. Below picture is an example. The function in the red circle can't be linked by C++ complier. Would you please help to check this issue?
Best regards!
Hu Zhigang
[cid:bbf5bf01-e72e-42b0-8b1a-fc627fbb1dc5]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20241219/d9f94cb6/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 90739 bytes
Desc: image.png
URL: <http://mails.dpdk.org/archives/dev/attachments/20241219/d9f94cb6/attachment-0001.png>
More information about the dev
mailing list