Skip to content

Fix gcc 15.2 compile error#150

Merged
xuhdev merged 1 commit intoeditorconfig:masterfrom
qunying:patch-1
Jan 31, 2026
Merged

Fix gcc 15.2 compile error#150
xuhdev merged 1 commit intoeditorconfig:masterfrom
qunying:patch-1

Conversation

@qunying
Copy link
Contributor

@qunying qunying commented Jan 30, 2026

src/lib/editorconfig.c:291:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
291 | char* path_char = strrchr(absolute_path, '/');

src/lib/editorconfig.c:291:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  291 |     char* path_char = strrchr(absolute_path, '/');
@cxw42 cxw42 self-requested a review January 31, 2026 01:35
@xuhdev xuhdev merged commit 03464d3 into editorconfig:master Jan 31, 2026
12 checks passed
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.

3 participants