Skip to content

Fix implicit-declaration error on some systems#270

Merged
SilverRainZ merged 1 commit intoSrainApp:masterfrom
lgbaldoni:implicit_declarations
Oct 5, 2020
Merged

Fix implicit-declaration error on some systems#270
SilverRainZ merged 1 commit intoSrainApp:masterfrom
lgbaldoni:implicit_declarations

Conversation

@lgbaldoni
Copy link
Contributor

I'm seeing this on openSUSE Leap 15.1

lib/path.c: In function 'srn_get_executable_path':
lib/path.c:370:4: warning: implicit declaration of function 'realpath'; did you mean 'renameat'? [-Wimplicit-function-declaration]
    realpath(PROC_SELF_EXE, rawPathName);
    ^~~~~~~~
    renameat

Copy link
Member

@SilverRainZ SilverRainZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@SilverRainZ SilverRainZ merged commit 7d1f55f into SrainApp:master Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants