Skip to content

suppress warning about asprintf#21

Open
dradetsky wants to merge 1 commit intojordansissel:masterfrom
dradetsky:suppress-asprintf-warning
Open

suppress warning about asprintf#21
dradetsky wants to merge 1 commit intojordansissel:masterfrom
dradetsky:suppress-asprintf-warning

Conversation

@dradetsky
Copy link

otherwise you get the following from make:

keynav.c: In function ‘addbinding’:
keynav.c:376:9: warning: implicit declaration of function ‘asprintf’; did you mean ‘vsprintf’? [-Wimplicit-function-declaration]
         asprintf(&newrecordingpath, "%s/%s", getenv("HOME"), path + 2);
         ^~~~~~~~
         vsprintf

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

Successfully merging this pull request may close these issues.

1 participant