Skip to content
New issue

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

Path in the binary #31

Open
Arthur111 opened this issue Nov 24, 2020 · 0 comments
Open

Path in the binary #31

Arthur111 opened this issue Nov 24, 2020 · 0 comments

Comments

@Arthur111
Copy link

Arthur111 commented Nov 24, 2020

Hello,

In TPCircularBuffer.c this directive

#define reportResult(result,operation) (_reportResult((result),(operation),strrchr(FILE, '/')+1,LINE))

cause the path (FILE) to be written into the binary file (lib or executable)

reportResult must be use only in DEBUG mode

#if DEBUG
reportResult(result, "Buffer allocation");
#endif

I fixed it :

TPCircular.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant