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

Q: __func__ in msvc #3516

Closed
masatake opened this issue Oct 22, 2022 · 4 comments
Closed

Q: __func__ in msvc #3516

masatake opened this issue Oct 22, 2022 · 4 comments
Assignees
Labels

Comments

@masatake
Copy link
Member

@k-takata I have a question about msvc.

During making a pull request, I found msvc didn't know __func__.
__func__ is part of C99.

__func__ is so useful for debugging and making useful error messages.
Don't you know any alternative to __func__ in msvc?

As far as reading
https://learn.microsoft.com/ja-jp/cpp/preprocessor/predefined-macros?view=msvc-140,
__func__ is available. Do we use older msvc?

@k-takata
Copy link
Member

Currently, we support VC++ 2013 or later, and I think we use it on AppVeyor.
VC++ 2015 has better support for C99. I think we can drop support for 2013.

@k-takata
Copy link
Member

@masatake
Copy link
Member Author

Thank you!

@masatake masatake reopened this Oct 22, 2022
@masatake
Copy link
Member Author

I think we can drop support for 2013.

I will reopen this when 2023:-)

masatake added a commit to masatake/ctags that referenced this issue Aug 17, 2023
masatake added a commit to masatake/ctags that referenced this issue Aug 17, 2023
masatake added a commit to masatake/ctags that referenced this issue Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants