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

Error (active) E0020 identifier "__builtin_FUNCSIG" is not defined #314

Open
Kir48 opened this issue Sep 7, 2024 · 1 comment
Open

Error (active) E0020 identifier "__builtin_FUNCSIG" is not defined #314

Kir48 opened this issue Sep 7, 2024 · 1 comment

Comments

@Kir48
Copy link

Kir48 commented Sep 7, 2024

Severity Code Description Project File String Suppression State Details
Error (active) E0020 identifier "__builtin_FUNCSIG" is not defined test D:\Programs\Projects\vcpkg-master\installed\x64-windows\include\boost\asio\detail\throw_error.hpp 39

@HANZO-x64
Copy link

Hi!
You need to use a macro definition before including libraries:
#define BOOST_DISABLE_CURRENT_LOCATION
I found a solution on Stack Overflow from user RetiredNinja. Many thanks to him! You can take a look here (Link)
This is how it will look:

#define BOOST_DISABLE_CURRENT_LOCATION
#include <stdio.h>
#include <tgbot/tgbot.h>

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

2 participants