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

Failed to identify functions marked with __THROW. #1314

Closed
nemaakhilesh opened this issue Nov 21, 2016 · 2 comments · Fixed by #3032
Closed

Failed to identify functions marked with __THROW. #1314

nemaakhilesh opened this issue Nov 21, 2016 · 2 comments · Fixed by #3032

Comments

@nemaakhilesh
Copy link

geany version - 1.29

Most of the function declarations in glibc header files are marked with __THROW.
Geany cannot identify or incorrectly identifies these functions.
(sample files /usr/include/pthread.h, /usr/include/unistd.h).
geany

@elextr
Copy link
Member

elextr commented Nov 21, 2016

The online parsing does not apply macro substitutions, so macros used to modify the language syntax can confuse it.

For system files like pthread.h or unistd.h it is recommended to make offline global tags using the C pre-processor to generate symbols. (see the manual, and check the wiki to be sure tags havn't already been produced).

@b4n
Copy link
Member

b4n commented Nov 21, 2016

You can use ignore.tags to mitigate the issue, it's here for just that.

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

Successfully merging a pull request may close this issue.

3 participants