[GH-ISSUE #66] Exporting lxw_strerror symbol for C++ #56

Closed
opened 2026-05-05 11:32:46 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @lemmel on GitHub (Jul 18, 2016).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/66

Hi.

I'm a C++ developper and I gave a try to your library, and I saw that the lxw_strerror function wasn't exported as C symbol.

The file : include/xlsxwriter/utility.h
I moved the block

#ifdef __cplusplus
extern "C" {
#endif

just above the declaration of lxw_strerror.

P.S. : Thanks a lot for giving time to create such a library.

Originally created by @lemmel on GitHub (Jul 18, 2016). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/66 Hi. I'm a C++ developper and I gave a try to your library, and I saw that the lxw_strerror function wasn't exported as C symbol. The file : include/xlsxwriter/utility.h I moved the block ``` #ifdef __cplusplus extern "C" { #endif ``` just above the declaration of lxw_strerror. P.S. : Thanks a lot for giving time to create such a library.
Author
Owner

@jmcnamara commented on GitHub (Jul 19, 2016):

Thanks for the report.

Fixed on the master branch. Closing.

John

<!-- gh-comment-id:233497374 --> @jmcnamara commented on GitHub (Jul 19, 2016): Thanks for the report. Fixed on the master branch. Closing. John
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#56
No description provided.